home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / pmp43.zip / PMPATROL.INF (.txt) < prev    next >
OS/2 Help File  |  1996-07-06  |  157KB  |  5,714 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. License Information ΓòÉΓòÉΓòÉ
  3.  
  4.                                   PM Patrol(tm)
  5.  
  6. (c) Copyright 1993-96, WallyWare, All rights reserved.
  7.  
  8. Unregistered copies of PM Patrol are freely distributable and copying is 
  9. encouraged. If you like it, tell a friend. If not, tell us. 
  10.  
  11. PM Patrol is supplied "as is" without any warranties either expressed or 
  12. implied. 
  13.  
  14. IN NO EVENT WILL WALLYWARE BE LIABLE TO YOU FOR ANY INCIDENTAL, SPECIAL, 
  15. PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM OR CONNECTED WITH 
  16. THIS AGREEMENT OR USE OF THIS PRODUCT, REGARDLESS WHETHER WE KNOW OR HAVE 
  17. REASON TO KNOW OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES MAY NOT ALLOW 
  18. EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES AND SO THE FOREGOING EXCLUSION 
  19. MAY NOT APPLY TO YOU. 
  20.  
  21. The version of PM Patrol is distributed under a Software License Agreement 
  22. which is included with this version of PM Patrol and available for preview 
  23. without registration required. 
  24.  
  25. If you have any questions about your rights or responsibilities concerning the 
  26. use of this product please contact: 
  27.  
  28. WallyWare
  29. 2210 Kingston Drive
  30. Wheaton, Illinois  60187  USA
  31.  
  32. Internet E-Mail:  wally@interaccess.com
  33. Internet WWW:    http://homepage.interaccess.com/~wally
  34. Phone:       708-510-7412 (630-510-7412 after 7/96)
  35. Fax:        708-690-8893 (630-690-8893 after 7/96)
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  39.  
  40.                                   PM Patrol(tm)
  41.  
  42. PM Patrol is robust, yet easy to use resource monitoring and management 
  43. software for OS/2 version 2.1+ and all versions of OS/2 Warp. 
  44.  
  45. Allow me to introduce PM Patrol and describe some quick-hits to help you get 
  46. going.  This introduction is brief, but important. 
  47.  
  48. You can ALWAYS get the latest version of PM Patrol from our WallyWare Internet 
  49. Web site at http://homepage.interaccess.com/~wally and send Internet e-mail to 
  50. wally@interaccess.com. 
  51.  
  52. To identify the current version, the licensed name, and serial number for this 
  53. copy of PM Patrol, refer to "Product Information" accessable from several PM 
  54. Patrol menus. The serial number is necessary when seeking technical support 
  55. from WallyWare. 
  56.  
  57. PM Patrol is designed to run all the time, from bootup to shutdown. Always 
  58. visible and accessible, PM Patrol offers quick access to many different 
  59. monitors and related utilities; Helping You Manage the Power of OS/2 
  60.  
  61. PM Patrol allows you to monitor and track several different resources of your 
  62. OS/2 system. These resources are presented to you in a very unintrusive and 
  63. meaningful display providing you insight into current system activities. 
  64.  
  65. The appearance of PM Patrol has maintained the attitude that this tool should 
  66. be visible, yet not use valuable desktop space. In order to accomplish this, PM 
  67. Patrol provides a Status Line at the bottom of your screen which displays the 
  68. monitors you have selected. In most cases, not all monitors can fit on the 
  69. Status Line - as expected. But, you can change the font of the Status Line so 
  70. that more information can fit in. Also, some of PM Patrol's other monitor 
  71. windows, besides the Status Line, concentrate on categories of resources in 
  72. OS/2 (ie. Memory). Therefore, you don't necessarily want or need everything on 
  73. the Status Line. Only those items you want to see all the time. 
  74.  
  75. PM Patrol has a broad appeal. The information PM Patrol provides is valuable to 
  76. a number of audiences including novices, heavy users, and software engineers 
  77. and developers. Some PM Patrol monitors and utility items are geared more 
  78. toward software developers, but the majority of PM Patrol is valuable to 
  79. anyone. 
  80.  
  81. PM Patrol is feature rich. For a complete description of PM Patrol features and 
  82. details, refer to Features and Product Information sections of this on-line 
  83. help. To see how PM Patrol compares to other OS/2 resource monitor software, 
  84. refer to the online help section "Comparative Matrix" also under Product 
  85. Information. 
  86.  
  87. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  88. utilities complement the PM Patrol personality and are described in detail in 
  89. the "Command Line Utilities" section of this on-line help. 
  90.  
  91. The on-line help describes all facets of PM Patrol. Whenever you are in the PM 
  92. Patrol on-line help, you can always view the Table of Contents by selecting 
  93. "Contents" under the "Options" menu item. 
  94.  
  95. The on-line help contains a section called "Trouble Shooting". If you ever 
  96. experience difficulties or potential problems with PM Patrol, refer to this 
  97. section of on-line help. It discusses topics of potential difficulty, 
  98. compatibility, and idiosyncrasies of PM Patrol features. Everyone should read 
  99. this section. 
  100.  
  101. Another on-line help section called "Support", provides basic support 
  102. information for PM Patrol. 
  103.  
  104. To help you get going with PM Patrol right now, the following itemizes 
  105. quick-hit topics: 
  106.  
  107.    1. PM Patrol provides 2 quick ways of getting around. Place the mouse 
  108.       pointer on the PM Patrol Status Line. If the Status Line is located at 
  109.       the bottom of the desktop screen, the mouse pointer changes to let you 
  110.       know your're "talking" to PM Patrol. Otherwise, the mouse pointer remains 
  111.       the same. The left mouse button acts different than the right. 
  112.  
  113.    2. From the PM Patrol Status Line, double clicking the left mouse button 
  114.       invokes the PM Patrol "Options" dialog. This dialog allows you to select 
  115.       and/or change PM Patrol Status Line monitors, configuration settings, 
  116.       color and font settings, various OS/2 system settings, and provides an 
  117.       alternative method for accessing PM Patrol "Utility" items. 
  118.  
  119.    3. From the PM Patrol Status Line, single clicking the right mouse button 
  120.       invokes the PM Patrol "Utility" popup menu. After you configure PM Patrol 
  121.       to your personal preferences, this "Utility" popup menu will typically 
  122.       become the primary access method to PM Patrol features. 
  123.  
  124.    4. The PM Patrol icon in the "Utility" popup menu invokes the Table of 
  125.       Contents for PM Patrol help. 
  126.  
  127.    5. When invoked, the "Utility" popup menu is intelligent based on the 
  128.       location of the mouse pointer within the PM Patrol Status Line: 
  129.  
  130.         a. If the mouse pointer is within 1 inch of the LEFT side of the Status 
  131.            Line (leftmost 1 inch on VGA), the Utility popup menu will 
  132.            automatically display the PM Patrol Program List for quick access to 
  133.            your favorite programs. 
  134.  
  135.         b. Similarly, if the mouse pointer is within 1 inch of the RIGHT side 
  136.            of the Status Line, the Utility popup menu will automatically 
  137.            display the PM Patrol Desktop List for quick access to commonly used 
  138.            OS/2 WorkPlace Shell folders. 
  139.  
  140.         c. Otherwise, the Utility popup menu is displayed with the default menu 
  141.            item being PM Patrol Process Monitor option. 
  142.  
  143.  From all of us at WallyWare, Thank you for choosing PM Patrol and enjoy... 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 3. Hardware/Software Requirements ΓòÉΓòÉΓòÉ
  147.  
  148. PM Patrol carries the following requirements, some of which are options to PM 
  149. Patrol: 
  150.  
  151.    1. PM Patrol requires IBM OS/2 version 2.1 or higher. 
  152.  
  153.    2. Multmedia features requires IBM MMPM/2 for OS/2 be installed. 
  154.  
  155.    3. Network monitoring features requires IBM LAN Requester be installed on 
  156.       the local workstation. NetWare for OS/2 is not currently supported. 
  157.  
  158.    4. Internet Connect-Time feature requires modem connection using the PPP or 
  159.       SLIP protocols of IBM's Internet Access Kit, or the In-Joy dialer 
  160.       available at http://www.belle.dk/~bj/dialer.html. 
  161.  
  162.    5. PM Patrol's Free Memory algorithm requires a 32-bit disk controller for 
  163.       memory configurations with more than 16 MB. Strict ISA bus architectures 
  164.       found on most 386 class computers are most likely equipped with 16-bit 
  165.       disk controllers. 
  166.  
  167.  
  168. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  169.  
  170. To install PM Patrol, run the INSTALL.EXE program from the distribution 
  171. diskette. 
  172.  
  173. The PM Patrol installation prompts you for a number of items and will install 
  174. all necessary files into a subdirectory of your choice for the PM Patrol 
  175. program files. 
  176.  
  177. The installation program also asks you if you want to create the OS/2 Desktop 
  178. objects and "shadow" copy  of PM Patrol in your OS/2 "Startup Folder". Refer to 
  179. the OS/2 WorkPlace Shell user guide for any additional help regarding the 
  180. Startup Folder. 
  181.  
  182. If you are using the real-time Data Collection Facility APIs, append the 
  183. installation path used for PM Patrol to the following statements in your 
  184. CONFIG.SYS file: 
  185.  
  186.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  187.  
  188.    2. "LIB" statement for the API import library (PMPAPI.LIB). 
  189.  
  190.    3. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  191.  
  192.  If you are using the real-time Debug Facility, append the installation path 
  193.  used for PM Patrol to the following statements in your CONFIG.SYS file: 
  194.  
  195.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  196.  
  197.    2. "LIB" statement for the API import library (DBUGAPI.LIB). 
  198.  
  199.    3. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  200.  
  201.  If you want to use PM Patrol's "Ram per Process" feature allowing you to see 
  202.  how much RAM a given program uses, you need to obtain and install the free IBM 
  203.  software called OS20MEMU available for download from our website. PM Patrol's 
  204.  interface to this software is seamless and automatic once installed. 
  205.  Effectively, PM Patrol is only interested in 2 files from this software. The 
  206.  following CONFIG.SYS entries need to be updated for OS20MEMU installation: 
  207.  
  208.    1. "LIBPATH" statement for the OS20MEMU DLL (OS20MEMU.DLL). 
  209.  
  210.    2. "DEVICE" statement for the OS20MEMU device driver (OS20MEMU.SYS). 
  211.  
  212.  After PM Patrol is installed and the first time you run it, the "Product 
  213.  Information" dialog appears along with the "Product Activation" dialog. This 
  214.  is your opportunity to enter your Name and the Serial number for your copy of 
  215.  PM Patrol. 
  216.  
  217.  It is VERY important that you enter the Serial number correctly. If you make a 
  218.  mistake, select "Register" from the "Product Information" dialog and try 
  219.  again. Once entered, this information is saved. 
  220.  
  221.  Note:  If you want to move PM Patrol to another machine, repeat the 
  222.  installation process along with entering your Name and Serial number again. 
  223.  
  224.  PM Patrol contains a few STARTUP command line options: 
  225.  
  226.    1. "-Q" is used to omit the PM Patrol logo window at startup. When 
  227.       specified, the little PM Patrol logo window at startup will NOT be 
  228.       displayed. 
  229.  
  230.    2. "-H" is used to start PM Patrol in a HIDDEN state. This is advantageous 
  231.       for some users - particularly when the user is only interested in the DCF 
  232.       component. Use the OS/2 Window List to "unhide" the window. This also 
  233.       lends itself to workstations which are used exclusively for real-time 
  234.       operations and/or data acquisition and wish to use the Logger component 
  235.       of PM Patrol. When enabled, any selected Auto-Start monitor windows in PM 
  236.       Patrol (ie. Memory, Process, Network, etc.) will not be started - with 
  237.       the exception of auto-starting the Debug or Logging facilities. These two 
  238.       items, if selected to auto-start, will be started as usual. 
  239.  
  240.    3. "-S" is used to start PM Patrol in SECURED state. When enabled, PM Patrol 
  241.       does not appear in the OS/2 Window List and is not able to be "killed". 
  242.       The user MUST close PM Patrol via the normal PM Patrol mechanism. 
  243.       "Secured" mode is provided primarily to complement the PM Patrol password 
  244.       security offered. 
  245.  
  246.    4. "-W" is used to keep PM Patrol windows from appearing in the OS/2 Window 
  247.       List. This is an alternative option to "-S" but acts only on Window List 
  248.       access. 
  249.  
  250.    5. "-C" can be used to put PM Patrol in a "time critical" priority class for 
  251.       a high level of responsiveness. By default, the main PM Patrol thread 
  252.       operates in a "foreground" priority class and is adequate for most 
  253.       systems. Where PM Patrol and it's DCF readings require absolute timing, 
  254.       this option can be used. Typically, this option lends itself to 
  255.       workstations used for real-time purposes or benchmarking applications 
  256.       which are CPU intensive. Using this startup option may be too aggressive 
  257.       for low-end systems (i386 or most SX CPUs). Furthermore, where seamless 
  258.       DOS+Windows programs are used often, this startup option should be 
  259.       avoided due to the nature of performance issues associated with VDMs 
  260.       (Virtual DOS Machines) under OS/2. 
  261.  
  262.    6. "-N" is used when you wish to disable the PM Patrol Network Monitoring 
  263.       facility. By default, this option is enabled. When disabled, no network 
  264.       I/O traffic monitoring is performed and this feature within PM Patrol is 
  265.       made inaccessible. 
  266.  
  267.    7. "-M" is used to bypass the "Ram per Process" feature redering this option 
  268.       disabled in PM Patrol. 
  269.  
  270.    8. "-P" is used when you wish to disable the PM Patrol Port Monitoring 
  271.       facility. By default, this option is enabled. When disabled, no port 
  272.       monitoring is performed and this feature within PM Patrol is made 
  273.       inaccessible. 
  274.  
  275.  When both HIDDEN and SECURED are enabled, these two parameters cause PM Patrol 
  276.  to operate in complete detached mode and 100% secured from user interaction 
  277.  and intervention. This mode of operation lends itself to LAN administrators 
  278.  and real-time operations who wish to monitor workstations using the DCF and 
  279.  Network components of PM Patrol without involving the workstation user. 
  280.  
  281.  
  282. ΓòÉΓòÉΓòÉ 4.1. Uninstall ΓòÉΓòÉΓòÉ
  283.  
  284. To Uninstall PM Patrol from your system: 
  285.  
  286.    1. Exit PM Patrol if currently active. 
  287.  
  288.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  289.  
  290.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  291.       "Startup" folder, then delete the program object from this folder as 
  292.       well. 
  293.  
  294.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  295.       directory. 
  296.  
  297.  Note:  PM Patrol does not modify your CONFIG.SYS file. Unless you make changes 
  298.  to your CONFIG.SYS to use PM Patrol's programming APIs, there are no 
  299.  modifications necessary to CONFIG.SYS for removing PM Patrol. 
  300.  
  301.  
  302. ΓòÉΓòÉΓòÉ 5. Order and Pricing ΓòÉΓòÉΓòÉ
  303.  
  304. Thank you for choosing PM Patrol. You may order by credit card, check or money 
  305. order, SWREG via CompuServe, or via purchase order. VISA, American Express, 
  306. Mastercard, and Discover are welcome. Corporate site licenses available and 
  307. negotiated based on quantity. 
  308.  
  309. PM Patrol pricing is $29 for a single copy, $15 for the upgrade (from versions 
  310. 2.x/3.x), $110 for a 5-Pack, and $400 for a 25-Pack. All pricing represented in 
  311. US dollars. 
  312.  
  313. Once you order PM Patrol, you will be sent via e-mail or Air Mail a product 
  314. serial number to use with PM Patrol. When you receive the serial number, enter 
  315. it into the PM Patrol Product Registration window. This is accessed from PM 
  316. Patrol's Product Information dialog window. Enter your name or company name 
  317. along with the serial number provided. 
  318.  
  319. Several purchasing methods are described below. Please use the one most 
  320. convenient for you. You may purchase directly from WallyWare or take advantage 
  321. of PM Patrol's resellers: 
  322.  
  323.    1. In the United States and Canada, look to BMT Micro at 800-414-4268 or PsL 
  324.       at 800-242-4775 
  325.  
  326.    2. In the United Kingdom, look to OneStop Software at +44 117-985-3370 or 
  327.       0117-985-3370 (in UK) 
  328.  
  329.    3. In Australia, look to Sentience Software at +61 49-57-7487 
  330.  
  331.   ===============================================================
  332.   Ordering via Purchase Order
  333.   ===============================================================
  334.   Mail, e-mail, or fax a purchase order along with the bill-to
  335.   and ship-to address.  An invoice will be sent to the bill-to
  336.   address.  Remember to provide a Purchase Order number.
  337.  
  338.   If possible, please complete the order form (ORDER.FRM)
  339.   included with the PM Patrol product.
  340.  
  341.    Mail:  WallyWare
  342.        2210 Kingston Drive
  343.        Wheaton, IL  60187  USA
  344.  
  345.    E-Mail: wally@interaccess.com
  346.  
  347.    Fax:   708-690-8893 (630-690-8893 after 7/96)
  348.  
  349.  
  350.   ===============================================================
  351.   Ordering via Check or Money Order
  352.   ===============================================================
  353.   Personal checks are limted to US and Canada only. Bank drafts
  354.   and money orders are without limitation.
  355.  
  356.   Complete the following registration form below and send it
  357.   along with your payment to:
  358.  
  359.        WallyWare
  360.        2210 Kingston Drive
  361.        Wheaton, IL  60187  USA
  362.  
  363.   Product:  PM Patrol for OS/2
  364.   Quantity: ___ Single  $29           ___ 5  Pack $110
  365.        ___ Upgrade $15 (from 2.x/3.x)    ___ 25 Pack $400
  366.  
  367.   Name:   ____________________________________________________
  368.   Address:  ____________________________________________________
  369.        ____________________________________________________
  370.   City:   ____________________________________________________
  371.   State:   _____  Zip: _________  Country:  __________________
  372.  
  373.   Internet Id:    ___________________________________________
  374.   CompuServe Id:   ___________________________________________
  375.   America Online Id: ___________________________________________
  376.  
  377.   Comments? ____________________________________________________
  378.        ____________________________________________________
  379.  
  380.   Where you obtained PM Patrol?  _______________________________
  381.  
  382.  
  383.   ===============================================================
  384.   Ordering via CompuServe SWREG
  385.   ===============================================================
  386.   CompuServe members may register PM Patrol via GO SWREG:
  387.  
  388.    PM Patrol (4.x Single Copy)      Registration Id: 8991
  389.  
  390.    PM Patrol (4.x Upgrade Only)      Registration Id: 9016
  391.    Previous registration will be verified by WallyWare. This
  392.    upgrade only applies to registered 2.x and 3.x users.
  393.  
  394.  
  395.  
  396.   ===============================================================
  397.   Ordering via Credit Card - PsL Service
  398.   ===============================================================
  399.   MasterCard, Visa, American Express, and Discover orders for
  400.   PM Patrol may be placed through PsL, a credit card order taking
  401.   and software registration service. Available Monday-Friday.
  402.  
  403.    Voice:  800-242-4775 or 713-524-6394
  404.        7am -  6pm CST Monday-Thursday
  405.        7am - 12pm CST on Fridays, except holidays.
  406.    Fax:   713-524-6398
  407.  
  408.    E-Mail: 71355.470@CompuServe.com
  409.    Mail:  Credit card orders can also be mailed to PsL at:
  410.        P.O. Box 35705, Houston, TX 77235  USA.
  411.  
  412.   The following is needed by PsL for credit card order processing.
  413.   Be sure to specify your e-mail account if you have one.  PsL
  414.   notifies WallyWare within 24 hours after receiving your order so
  415.   a PM Patrol product serial number can be generated and sent to
  416.   you promptly.
  417.  
  418.    Product Id:     14363 (PM Patrol)
  419.  
  420.    Quantity:      ____ Single  $29     ____  5-Pack $110
  421.              ____ Upgrade $15     ____ 25-Pack $400
  422.  
  423.    Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  424.    Credit Card Number: __________________________________________
  425.    Expiration Date:   __________________________________________
  426.    Name On Card:    __________________________________________
  427.    Billing Address:   __________________________________________
  428.              __________________________________________
  429.              __________________________________________
  430.  
  431.    Internet Id:     __________________________________________
  432.    CompuServe Id:    __________________________________________
  433.    America Online Id:  __________________________________________
  434.  
  435.  
  436.   Please note:
  437.    WallyWare CAN NOT be reached at the numbers above.  These
  438.    numbers are for PsL - CREDIT CARD ORDERS ONLY.
  439.  
  440.    Any questions about the status of the shipment of an order,
  441.    refunds, registration options, product details, technical
  442.    support, volume discounts, dealer pricing, site licenses,
  443.    etc., must be directed to WallyWare.
  444.  
  445.  
  446.   ===============================================================
  447.   Ordering via Credit Card - BMT Micro Service
  448.   ===============================================================
  449.   MasterCard, Visa, American Express, and Discover orders for
  450.   PM Patrol may be placed through BMT Micro, a credit card order
  451.   taking and software registration service. Available Monday-Friday.
  452.  
  453.    Voice:  800-414-4268 (Monday - Friday)
  454.    Fax:   910-350-2937
  455.    E-Mail: orderes@bmt.wilmington.net
  456.  
  457.   The following is needed by BMT for credit card order processing.
  458.   Be sure to specify your e-mail account if you have one. BMT Micro
  459.   notifies WallyWare within 24 hours after receiving your order so
  460.   a PM Patrol product serial number can be generated and sent to
  461.   you promptly.
  462.  
  463.    Product Id:     PM Patrol
  464.  
  465.    Quantity:      ____ Single  $29     ____  5-Pack $110
  466.              ____ Upgrade $15     ____ 25-Pack $400
  467.  
  468.    Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  469.    Credit Card Number: __________________________________________
  470.    Expiration Date:   __________________________________________
  471.    Name On Card:    __________________________________________
  472.    Billing Address:   __________________________________________
  473.              __________________________________________
  474.              __________________________________________
  475.  
  476.    Internet Id:     __________________________________________
  477.    CompuServe Id:    __________________________________________
  478.    America Online Id:  __________________________________________
  479.  
  480.  
  481.   Please note:
  482.    WallyWare CAN NOT be reached at the numbers above.  These
  483.    numbers are for BMT Micro - CREDIT CARD ORDERS ONLY.
  484.  
  485.    Any questions about the status of the shipment of an order,
  486.    refunds, registration options, product details, technical
  487.    support, volume discounts, dealer pricing, site licenses,
  488.    etc., must be directed to WallyWare.
  489.  
  490.  
  491.   ===============================================================
  492.   Receiving your PM Patrol Product Serial Number
  493.   ===============================================================
  494.   You're Product Serial number is assigned by WallyWare after
  495.   purchasing PM Patrol.  After you receive this code, enter it,
  496.   (along with your name) in PM Patrol's Product Registration window.
  497.  
  498.    E-Mail shipment:
  499.      For E-Mail users on Internet, CompuServe, or America Online
  500.      your PM Patrol product serial number will be sent via e-mail
  501.      within 24 hours after receipt of your PM Patrol purchase.
  502.  
  503.    Air-Mail shipment:
  504.      For users without e-mail access, WallyWare will send via
  505.      First Class Air mail a 3 1/2 diskette containing the latest
  506.      version of PM Patrol and an invoice with your product serial
  507.      number.  Please allow 5-10 days for shipping.
  508.  
  509.  
  510.   PM Patrol is posted on several popular sites.  The following sites
  511.   receive uploads of PM Patrol directly from WallyWare.  If you have
  512.   a more convenient ftp or download site, let us know.
  513.  
  514.   The file name is typically PMPxyz.ZIP where "x" represents the major
  515.   release number, "y" represents the minor release number, and "z"
  516.   represents an optional fix release as an alphabetic character.
  517.   For example, PMP41.ZIP or PMP41a.ZIP.  On CompuServe, the PM Patrol
  518.   file will always be called PMPATROL.ZIP.
  519.  
  520.    WWW: http://homepage.interaccess.com/~wally
  521.    WWW: http://www.wilmington.net/bmtmicro
  522.    WWW: http://www.os2.hammer.org/OS2
  523.    FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  524.    FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  525.    BBS: Chicago online OS/2        (708-895-4042  8N1)
  526.    BBS: Peter Norloff's OS/2 Shareware   (703-385-4325  8N1)
  527.    CompuServe               (OS2BVEN Forum, Shareware Library)
  528.    America Online             (OS/2 Forum)
  529.  
  530.   You can ALWAYS get the latest version of PM Patrol from our WEB
  531.   site on the internet at http://homepage.interaccess.com/~wally
  532.  
  533.   Thank you for choosing PM Patrol.  And, enjoy...
  534.   Dave Wallenberg, WallyWare
  535.  
  536.   Internet E-Mail: wally@interaccess.com
  537.   Internet WWW:   http://homepage.interaccess.com/~wally
  538.   Phone:      708-510-7412 (630-510-7412 after 7/96)
  539.   Fax:       708-690-8893 (630-690-8893 after 7/96)
  540.  
  541.  
  542. ΓòÉΓòÉΓòÉ 6. Support ΓòÉΓòÉΓòÉ
  543.  
  544. Sales and Technical Support for PM Patrol and other WallyWare products are 
  545. available through phone, e-mail, and fax. 
  546.  
  547. In most cases, phone support will require you to leave a message for WallyWare. 
  548. We will return domestic US calls as soon as possible usually within 48 hours. 
  549. E-mail support can usually count on response within 48 hours. 
  550.  
  551. PM Patrol is posted to and can be downloaded from the following electronic 
  552. repositories. The file name is typically PMPxyz.ZIP where "x" represents the 
  553. major release number, "y" represents the minor release number, and "z" 
  554. represents an optional fix release as an alphabetic character. For example, 
  555. PMP41.ZIP or PMP41a.ZIP. On CompuServe, the PM Patrol file will always be 
  556. called PMPATROL.ZIP. 
  557.  
  558.  WWW: http://homepage.interaccess.com/~wally
  559.  WWW: http://www.wilmington.net/bmtmicro
  560.  WWW: http://www.os2.hammer.org/OS2
  561.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  562.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  563.  BBS: Chicago online OS/2        (708-895-4042  8N1)
  564.  BBS: Peter Norloff's OS/2 Shareware   (703-385-4325  8N1)
  565.  CompuServe               (OS2BVEN Forum, Shareware Library)
  566.  America Online             (OS/2 Forum)
  567.  
  568. You can ALWAYS get the latest version of PM Patrol from our WEB
  569. site on the internet at http://homepage.interaccess.com/~wally
  570.  
  571. WallyWare
  572. 2210 Kingston Drive
  573. Wheaton, Illinois  60187  USA
  574.  
  575. Internet E-Mail: wally@interaccess.com
  576. Internet WWW:   http://homepage.interaccess.com/~wally
  577. Phone:      708-510-7412 (630-510-7412 after 7/96)
  578. Fax:       708-690-8893 (630-690-8893 after 7/96)
  579.  
  580.  
  581. ΓòÉΓòÉΓòÉ 7. Product Information ΓòÉΓòÉΓòÉ
  582.  
  583. This section describes what PM Patrol is and what it offers 
  584.  
  585.  
  586. ΓòÉΓòÉΓòÉ 7.1. What is It? ΓòÉΓòÉΓòÉ
  587.  
  588. PM Patrol is robust yet easy to use resource monitoring and management 
  589. software, for OS/2 versions 2.1 and higher. The monitors, frequency of resource 
  590. samples, preferences, size and placement of windows are user selectable 
  591. allowing complete customization. 
  592.  
  593. Always accessible, PM Patrol extends the OS/2 desktop by providing insight into 
  594. current system activities and resource utilization. 
  595.  
  596. The quick-access utility items include a program launcher, program scheduler, 
  597. print/spooler functions, Fast Find, and much more. 
  598.  
  599. The numerous resource monitors that PM Patrol provides can be logged for later 
  600. review or accessed dynamically with the Data Collection Facility APIs. Recorded 
  601. as text, the logged data can be manipulated using tools such as Rexx, AWK, 
  602. GREP, and custom C/C++ programs. 
  603.  
  604. The appearance of PM Patrol has maintained the attitude that the tool should be 
  605. visible, yet not use valuable desktop space. As a result, the main Status Line 
  606. is displayed at the bottom of the display (as default). 
  607.  
  608.  
  609. ΓòÉΓòÉΓòÉ 7.2. Why do I need it? ΓòÉΓòÉΓòÉ
  610.  
  611. PM Patrol offers numerous and intuitive selections for monitoring OS/2 status 
  612. and activities: 
  613.  
  614.    1. Display current Date/Time with optional synchronization to network 
  615.       server. 
  616.  
  617.    2. System up-time for workstation 
  618.  
  619.    3. Internet Connect-Time for workstation (requires IBM's Internet Access 
  620.       Kit). 
  621.  
  622.    4. Network user ID, Domain, server, and network I/O traffic for the 
  623.       workstation 
  624.  
  625.    5. Processes, threads, DLLs, drivers, and shared memory activity 
  626.  
  627.    6. Event monitoring and notification of critical OS/2 resources and 
  628.       thresholds. 
  629.  
  630.    7. CPU activity per Process and Thread in graphical view 
  631.  
  632.    8. Complete drive summary and detail information with graphical utilization 
  633.  
  634.    9. Local or remote print spooler jobs on a per queue basis 
  635.  
  636.   10. Disk Drives on-line (including network drives) 
  637.  
  638.   11. Free space for selected drives (up to 6 drives including network drives) 
  639.  
  640.   12. OS/2 swap activity 
  641.  
  642.   13. Identify system levels for OS/2 component installed 
  643.  
  644.   14. OS/2 free real and virtual memory activity 
  645.  
  646.   15. Active number of OS/2 processes and threads 
  647.  
  648.   16. CPU utilization (current vs. rolling average over last 1 minute) 
  649.  
  650.   17. Battery status for mobile computers 
  651.  
  652.   18. Graphical views of memory, CPU usage, and swapping 
  653.  
  654.  PM Patrol contains a suite of robust utility and OS/2 desktop functions: 
  655.  
  656.    1. Robust monitoring of OS/2 processes and threads (Process Monitor window) 
  657.       with ability to monitor CPU utilization per process, memory used per 
  658.       process, process priorities, and "kill" ill-behaved programs. 
  659.  
  660.    2. Process Meter features provides unattended operation and automatic 
  661.       collection of process statistics for identifying duration, CPU 
  662.       consumption, and instances over a range of time. 
  663.  
  664.    3. Quick-access program launcher with priority control 
  665.  
  666.    4. Quick-access program scheduler with priority control for timed events 
  667.  
  668.    5. Network Monitor and I/O statistics for workstation 
  669.  
  670.    6. Summary and detailed information of drives 
  671.  
  672.    7. Summary and detailed information of OS/2 configuration and environment 
  673.  
  674.    8. Changing the mouse and wait pointers in OS/2 
  675.  
  676.    9. Fast Find files (pattern, size, last access, attributes, network drives) 
  677.  
  678.   10. Fast Help for all OS/2 and Windows help information files on-line 
  679.  
  680.   11. Fast access to WorkPlace Shell object classes 
  681.  
  682.   12. Find duplicate files 
  683.  
  684.   13. Drive utilization and analysis with graphical distribution 
  685.  
  686.   14. Fast Format diskettes 
  687.  
  688.   15. Print queue management 
  689.  
  690.   16. Identify system levels for OS/2 component installed 
  691.  
  692.   17. Minimize all visible windows (and restore all minimized windows) 
  693.  
  694.   18. Security to protect PM Patrol settings and configuration for stand-alone 
  695.       and network use 
  696.  
  697.   19. Suspending power for mobile computers (sleep mode) 
  698.  
  699.   20. Suspending PM Patrol monitors 
  700.  
  701.   21. Forced OS/2 shutdown 
  702.  
  703.   22. Changing mouse and wait pointers for all display types 
  704.  
  705.   23. Set system date and time 
  706.  
  707.   24. Several command-line utilities such as Fast Find and Find Duplicate 
  708.       files, Print Spooler Management, and more 
  709.  
  710.   25. API interfaces to retrieve real-time statistics from PM Patrol 
  711.  
  712.  
  713. ΓòÉΓòÉΓòÉ 7.3. Comparative Matrix ΓòÉΓòÉΓòÉ
  714.  
  715. =====================================================================
  716.       Item          PM Patrol  SPM/2  CpuMon  Pegasus
  717. =====================================================================
  718. Low memory requirements        X             X
  719. Low CPU requirements          X     X        X
  720. Network monitoring           X-1
  721. CPU monitoring             X     X    X     X
  722. Magnified CPU monitoring        X
  723. LPT Port monitoring          X         X     X
  724. COM Port monitoring                   X     X
  725. Process monitors            X         X     X
  726. Free Memory monitor          X     X    X     X
  727. Ram per Process            X-3    X        X
  728. Virtual Memory monitor         X     X
  729. Resident Memory monitor        X     X
  730. Memory Per Process monitor            X    X
  731. Swap free and size monitor       X     X    X     X
  732. Drive monitoring            X     X    X     X
  733. Drive Cache monitors          X-2            X
  734. Drive utilization mapping       X
  735. Power Mgmt Monitoring and Control   X
  736. Inconspicuous monitor display     X
  737. Real-time Data Collection Facility   X     X        X
  738. C/C++ API interfaces          X     X        X
  739. Quick access program Launcher     X
  740. Build-in program Scheduler       X
  741. Line graph displays          X     X        X
  742. Selective logging           X         X     X
  743. Print spooler mgmt and control     X
  744. System and Configuration Info.     X
  745. Performance tuning guide        X
  746. Desktop/WorkPlace Shell utilities   X
  747. Software testing tools         X
  748. Event Monitoring w/Alarms       X
  749. Multimedia Enabled           X
  750. Internet Access Monitoring       X
  751. Fast access to system help files    X
  752. Robust Process Metering        X
  753. Low cost                X
  754. Free upgrades             X
  755.  
  756. (1) LAN Server support only
  757. (2) HPFS-386 only
  758. (3) OS20MEMU required
  759.  
  760.  
  761. ΓòÉΓòÉΓòÉ 8. How do I ? ΓòÉΓòÉΓòÉ
  762.  
  763. This section describes how to do things in PM Patrol that may not be obvious. 
  764.  
  765.  
  766. ΓòÉΓòÉΓòÉ 8.1. Set fonts ΓòÉΓòÉΓòÉ
  767.  
  768. You can select "Font" from the PM Patrol "Options" dialog and select a font for 
  769. the PM Patrol main Status Line. 
  770.  
  771. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  772.  
  773. Or, use the Font Palette in the OS/2 "Setup" folder by dropping a font on the 
  774. PM Patrol Status Line. 
  775.  
  776. Using the OS/2 Font Palette only effects the PM Patrol Status Line and not 
  777. other PM Patrol windows. For these other PM Patrol windows, use the "Chenge 
  778. Font" option under the "View" menu item to change the font for a particular 
  779. window. 
  780.  
  781. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  782.  
  783. Note:  PM Patrol supports the ability to have a different font and color scheme 
  784. for each window - including the main Status Line. 
  785.  
  786.  
  787. ΓòÉΓòÉΓòÉ 8.2. Display Different Drives ΓòÉΓòÉΓòÉ
  788.  
  789. By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  790. through H. This drive mapping can be changed to any desired combination. 
  791.  
  792.    1. From the PM Patrol Status Line, right-click the Status Line. 
  793.  
  794.    2. Select the "Drives" menu option 
  795.  
  796.    3. Then select the "Status Line" option. 
  797.  
  798.    4. This will display a menu identifying the current drive mappings assigned. 
  799.       Select the PM Patrol drive number you wish to change. 
  800.  
  801.    5. A mini dialog will popup displaying current drives on-line and 
  802.       accessible. Choose which drive to map. 
  803.  
  804.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  805.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  806.  
  807.    7. This information is saved and remembered by PM Patrol. 
  808.  
  809.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  810.  of the free space for the drive to inform you the drive is off-line. This is 
  811.  more common when monitoring remote drives on a network. 
  812.  
  813.  
  814. ΓòÉΓòÉΓòÉ 8.3. Set Colors ΓòÉΓòÉΓòÉ
  815.  
  816. Use the "Colors" dialog. This can be accessed via the PM Patrol Setting option 
  817. on the "Options" dialog. You can control both foreground and background RGB 
  818. colors with this mechanism. 
  819.  
  820. Or, use the Color Palette in the OS/2 "Setup" folder by dropping a color 
  821. selection on the PM Patrol Status Line. 
  822.  
  823. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  824.  
  825.  
  826. ΓòÉΓòÉΓòÉ 8.4. Move the Status Line ΓòÉΓòÉΓòÉ
  827.  
  828. There are two methods for moving the main Status Line. All PM Patrol settings 
  829. and window positions are automatically saved when you exit PM Patrol. 
  830.  
  831.         a. Holding the right mouse button down, drag the Status Line up or 
  832.            down, it will automatically keep the width of the Status Line within 
  833.            the boundaries of your desktop screen width. 
  834.  
  835.         a. Single click with both mouse buttons (Chord click) on the PM Patrol 
  836.            Status Line.  This will enable the title bar to the Status Line. 
  837.  
  838.         b. Select the title bar and hold the mouse button while dragging the 
  839.            Status Line to the desired position. 
  840.  
  841.         c. Chord click the Status Line again (or select "Hide Controls" from 
  842.            the System Menu box) to hide the title bar. 
  843.  
  844.         d. This will allow you to move the Status Line off the desktop 
  845.            boundaries for those of you who wish to truncate the left of right 
  846.            side of the Status Line. 
  847.  
  848.  
  849. ΓòÉΓòÉΓòÉ 8.5. Mouse Control with PM Patrol ΓòÉΓòÉΓòÉ
  850.  
  851. Double click the left mouse button on the PM Patrol Status Line to get to PM 
  852. Patrol Options. 
  853.  
  854. Single click the right mouse button on the PM Patrol Status Line for quick 
  855. access the PM Patrol utilities menu. 
  856.  
  857. Single click the left and right mouse buttons (Chord click) on the PM Patrol 
  858. Status Line to display the PM Patrol title bar and system menu. This allows you 
  859. to move the PM Patrol Status Line to a desired position. Chord click again to 
  860. hide the title bar, or select the "System Menu" box on the title bar and then 
  861. select "Hide Controls". 
  862.  
  863.  
  864. ΓòÉΓòÉΓòÉ 8.6. Start PM Patrol Minimized/Hidden ΓòÉΓòÉΓòÉ
  865.  
  866. PM Patrol can be started with a command line option ("-H") to start it in a 
  867. HIDDEN state. This is advantageous for some users - particularly when the user 
  868. is only interested in the DCF component. Use the OS/2 Window List to "unhide" 
  869. the window. This also lends itself to workstations which are used exclusively 
  870. for real-time operations and/or data acquisition and wish to use the Logger 
  871. component of PM Patrol. 
  872.  
  873. Combined with the "Start Secured" option, PM Patrol to operates in complete 
  874. detached mode and 100% secured from user interaction and intervention. The only 
  875. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  876. itself to LAN administrators who wish to monitor workstations using the DCF and 
  877. Network components of PM Patrol without involving the workstation user. 
  878.  
  879.  
  880. ΓòÉΓòÉΓòÉ 8.7. Start PM Patrol Secured ΓòÉΓòÉΓòÉ
  881.  
  882. PM Patrol can be started with a command line option "-S" to start PM Patrol in 
  883. SECURED state. When enabled, PM Patrol does not appear in the OS/2 Window List 
  884. and can not therefore be terminated by the user. The user MUST close PM Patrol 
  885. via the normal PM Patrol mechanism. 
  886.  
  887. Combined with the "Start Hidden" option, PM Patrol to operates in complete 
  888. detached mode and 100% secured from user interaction and intervention. The only 
  889. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  890. itself to LAN administrators who wish to monitor workstations using the DCF and 
  891. Network components of PM Patrol without involving the workstation user. 
  892.  
  893.  
  894. ΓòÉΓòÉΓòÉ 8.8. Uninstall PM Patrol ΓòÉΓòÉΓòÉ
  895.  
  896. To Uninstall PM Patrol from your system: 
  897.  
  898.    1. Exit PM Patrol if currently active. 
  899.  
  900.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  901.  
  902.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  903.       "Startup" folder, then delete the program object from this folder as 
  904.       well. 
  905.  
  906.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  907.       directory. 
  908.  
  909.  
  910. ΓòÉΓòÉΓòÉ 8.9. Use PM Patrol without a mouse ΓòÉΓòÉΓòÉ
  911.  
  912. To access PM Patrol without a mouse, use Ctrl-Esc to get to the OS/2 Window 
  913. List. Then, select the "PM patrol Status Line". At this point, you can: 
  914.  
  915.    1. Press F11 to invoke the PM Patrol Utility Popup menu 
  916.  
  917.    2. Press F12 to invoke the PM Patrol Options window 
  918.   Once you have access to the Utility Popup, you can go anywhere within PM 
  919.  Patrol without a mouse. 
  920.  
  921.  
  922. ΓòÉΓòÉΓòÉ 9. Options ΓòÉΓòÉΓòÉ
  923.  
  924. This section describes various options and configuration settings that may be 
  925. selected for PM Patrol. 
  926.  
  927.  
  928. ΓòÉΓòÉΓòÉ 9.1. System ΓòÉΓòÉΓòÉ
  929.  
  930. The System section provides the ability to view and change several OS/2 
  931. environmental facets. 
  932.  
  933. This can be accessed from the PM Patrol "Options" dialog. 
  934.  
  935.  
  936. ΓòÉΓòÉΓòÉ 9.1.1. System Level ΓòÉΓòÉΓòÉ
  937.  
  938. The System Level option launches the OS/2 SYSLEVEL.EXE utility and displays the 
  939. current release and CSD level for the OS/2 components installed on your system. 
  940.  
  941.  
  942. ΓòÉΓòÉΓòÉ 9.1.2. Set Date/Time ΓòÉΓòÉΓòÉ
  943.  
  944. The Set Date/Time option provides a small dialog for changing the OS/2 system 
  945. date and/or time. Input is fully edited for valid dates including leap-year and 
  946. you are notified of errors. 
  947.  
  948. The Status Line Date/Time is updated to reflect the new date/time. 
  949.  
  950.  
  951. ΓòÉΓòÉΓòÉ 9.1.3. Mouse Pointer ΓòÉΓòÉΓòÉ
  952.  
  953. The Mouse Pointer option allows you to change the current mouse pointer type. 
  954. Using the OS/2 Icon Editor, you can create your own POINTER files. 
  955.  
  956. This option provides a bigger pointer for SVGA and XGA systems.  On XGA 
  957. systems, if you change the default pointer, the pointer may occasionally 
  958. disappear. This is most likely caused by the IBM OS/2 XGA drivers and is 
  959. repaired in OS/2 2.1 with the 2.11 CSD. 
  960.  
  961. Note:  After selecting a new pointer, DO NOT delete, move, or rename the 
  962. pointer file without changing the Mouse Pointer via PM Patrol FIRST. OS/2 looks 
  963. for this at IPL. If it is not found at OS/2 bootup, OS/2 will hang. So put the 
  964. pointer file in a safe place on a not removable media type and backup INI 
  965. files. 
  966.  
  967. Select "Reset" to reset back to the original pointer. 
  968.  
  969.  
  970. ΓòÉΓòÉΓòÉ 9.1.4. Wait Pointer ΓòÉΓòÉΓòÉ
  971.  
  972. The Wait Pointer option allows you to change the current wait pointer type. 
  973. Typically, this is the OS/2 time clock when the system is busy. Using the OS/2 
  974. Icon Editor, you can create your own POINTER files. 
  975.  
  976. This option was added to provide a bigger pointer for SVGA and XGA systems.  On 
  977. XGA systems, if you change the default pointer, the pointer may occasionally 
  978. disappear.  This is most likely caused by the XGA drivers. 
  979.  
  980. After selecting a new pointer, DO NOT delete, move, or rename this file without 
  981. performing this process as well. OS/2 looks for this at IPL. So put the pointer 
  982. file in a safe place on a not removable media type and backup INI files. 
  983.  
  984. Select "Reset" to reset back to the original pointer. 
  985.  
  986.  
  987. ΓòÉΓòÉΓòÉ 9.2. Settings ΓòÉΓòÉΓòÉ
  988.  
  989. The Settings section provides the ability to view, change, and permanently 
  990. change PM Patrol configuration items. 
  991.  
  992. This can be accessed from the PM Patrol "Options" dialog. 
  993.  
  994.  
  995. ΓòÉΓòÉΓòÉ 9.2.1. Reset All Settings ΓòÉΓòÉΓòÉ
  996.  
  997. The Reset All Settings option resets all PM Patrol to options to their original 
  998. defaults. This includes colors, window positions, fonts, monitor items on the 
  999. Status Line and PM Patrol Logger, and Process Meter data. 
  1000.  
  1001.  
  1002. ΓòÉΓòÉΓòÉ 9.2.2. General Settings ΓòÉΓòÉΓòÉ
  1003.  
  1004. General Settings is broken-out into the following groups: 
  1005.  
  1006.    1. "Startup" options and windows that get started when PM Patrol is started 
  1007.  
  1008.    2. "Miscellaneous" options 
  1009.  
  1010.    3. "Spooler" options for local or remote print spool monitoring 
  1011.  
  1012.    4. "Editor" and "Viewer" programs used by PM Patrol 
  1013.  
  1014.  The following items discuss Startup function: 
  1015.  
  1016.    1. Enable Process Monitor Window to have this facility launched when PM 
  1017.       Patrol starts. 
  1018.  
  1019.    2. Enable Memory Monitor Window to have this facility launched when PM 
  1020.       Patrol starts. 
  1021.  
  1022.    3. Enable Network Monitor Window to have this facility launched when PM 
  1023.       Patrol starts. 
  1024.  
  1025.    4. Enable Port Monitor Window to have this facility launched when PM Patrol 
  1026.       starts. 
  1027.  
  1028.    5. Enable Drives Monitor Window to have this facility launched when PM 
  1029.       Patrol starts. 
  1030.  
  1031.    6. Enable Event Monitor Window to have this facility launched when PM Patrol 
  1032.       starts. 
  1033.  
  1034.    7. Enable Activity Monitor Window to have this facility launched when PM 
  1035.       Patrol starts. 
  1036.  
  1037.    8. Enable Debug Facility to have this facility start when PM Patrol starts. 
  1038.  
  1039.    9. Enable Logging Facility to have this facility start when PM Patrol 
  1040.       starts. 
  1041.  
  1042.   10. Enable Reset Process Meter to have the Process Meter data base 
  1043.       initialized when PM Patrol starts (typically each time you reboot your 
  1044.       system). When this settings is not enabled, PM Patrol keeps track of 
  1045.       Process Meter statistics across each invocation of PM Patrol, thus 
  1046.       providing accumulative statistics for you until you manually reset the 
  1047.       Process Meter data base. This option is enabled by default. Therefore, 
  1048.       the meter will be initialized each time you start PM Patrol. 
  1049.  
  1050.  The following items discuss Miscellaneous items: 
  1051.  
  1052.    1. Sound Bites and Volume option enables or disables the playing of 
  1053.       multimedia WAV files upon various PM Patrol events. This option is only 
  1054.       applicable to systems that are Multimedia enabled with MMPM/2 for OS/2. 
  1055.       The Volume control allows you to adjust the volume for PM Patrol's WAV 
  1056.       sound bites independantly from the OS/2 "System Sounds" volume control. 
  1057.       The default is 50% and may require adjustment for your system. PM Patrol 
  1058.       stores it's WAV files in a subdirectory called "WAV" and is located under 
  1059.       the PM Patrol installation directory. Some events include: 
  1060.  
  1061.         a. When an error occurs (pmperr.wav). 
  1062.  
  1063.         b. When free disk space is low (pmpfdisk.wav). 
  1064.  
  1065.         c. Each time you connect (pmpin.wav) or disconnect from (pmpout.wav) 
  1066.            the Internet when using IBM's Internet Access Kit. 
  1067.  
  1068.         d. Each time you Logon (pmpin.wav) or Logoff (pmpout.wav) when using 
  1069.            IBM's LAN Server. 
  1070.  
  1071.         e. When you kill a program from the Process Monitor window or Fast 
  1072.            Format a floppy diskette (pmpshred.wav). 
  1073.  
  1074.         f. When you refresh the window contents manually (pmprefr.wav). 
  1075.  
  1076.         g. When you add (pmpadd.wav) or delete (pmpshred.wav) items from a 
  1077.            window. 
  1078.  
  1079.         h. When you delete PM Patrol or Debug log files (pmpshred.wav). 
  1080.  
  1081.         i. When the PM Patrol Status Line, Activity Monitor, or PM Patrol's CPU 
  1082.            monitor are suspended (pmppause.wav) and resumed (pmpreset.wav). 
  1083.  
  1084.         j. When using PM Patrol's print spooler management functions. This 
  1085.            includes purging queues (pmpshred.wav), releasing queues 
  1086.            (pmpreset.wav), and holding queues (pmppause.wav). 
  1087.  
  1088.         k. When PM Patrol windows are copied to the clipboard, printed, or 
  1089.            saved to a file (pmprpt.wav). 
  1090.  
  1091.         l. When printing to local LPT1, LPT2, or LPT3 has completed spooling to 
  1092.            printer (pmpprint.wav). 
  1093.  
  1094.         m. When remaining battery life drops below specified threshold 
  1095.            (pmpbat.wav). 
  1096.  
  1097.         n. When available virtual memory falls below specified threshold 
  1098.            (pmpvram.wav). 
  1099.  
  1100.         o. When the OS/2 swap file grows at any time (pmpgswap.wav). 
  1101.  
  1102.         p. When available OS/2 swap space falls below the specified threshold 
  1103.            (pmpfswap.wav). 
  1104.  
  1105.         q. When average CPU exceeds specified threshold (pmpcpu.wav). 
  1106.  
  1107.         r. When PM Patrol logging is stopped or completed (pmpdone.wav). 
  1108.  
  1109.         s. When various "Reset" options are selected (pmpreset.wav). 
  1110.  
  1111.    2. Process Metering option enables or disables the Process Meter feature 
  1112.       which provides ongoing monitoring of process metrics and statistics for 
  1113.       analyzing duration, CPU effort, instances, execution dates, and more. 
  1114.       Refer to the "Monitors" on-line section for details. 
  1115.  
  1116.    3. Confirmations option enables or disables PM Patrol from asking you for 
  1117.       confirmation upon various events such as killing processes via the 
  1118.       Process Monitor window. There are cases where PM Patrol will ignore this 
  1119.       option and request confirmation for your own protection, even if this 
  1120.       option is turned off. 
  1121.  
  1122.    4. Animated Windows option enables or disables the appearance of PM Patrol 
  1123.       windows "zooming" in and out when windows are opened and closed. 
  1124.  
  1125.    5. Idle-Time Searches option controls the search priority for "Fast Find", 
  1126.       "Drive Map", and "Fast Help" operations. When enabled, these operations 
  1127.       only get OS/2 time slices when there is inactivity (idle) within your 
  1128.       system. 
  1129.  
  1130.    6. Auto-Save Profile option will, when enabled, automatically save the PM 
  1131.       Patrol profile and statistics at the frequency specified. The frequency 
  1132.       is specified as minutes with a range of 1 minute to 8 hours, default 15 
  1133.       minutes. This facilitates the integrity for the PM Patrol real-time 
  1134.       statistics in the event of a system hang.  If not enabled, PM Patrol will 
  1135.       automatically save the profile statistics, but only when PM Patrol is 
  1136.       shutdown. 
  1137.  
  1138.       Note:  With this option turned on, power-managed computers will not 
  1139.       automatically power-down the disk drive(s) because of the disk write 
  1140.       generated from this option. This disk write is not buffered and therefore 
  1141.       commits to disk immediately. 
  1142.  
  1143.    7. Lock Status Line Position option locks-in the PM Patrol Status Line 
  1144.       position from accidently dragging and moving. 
  1145.  
  1146.    8. Reflect Free Swap in VRam. This option provides the ability to have the 
  1147.       Free Virtual Memory calculation reflect (or not reflect) free OS/2 swap 
  1148.       space from the swap file (swapper.dat). When enabled, the Free Virtual 
  1149.       RAM (VRam) calculation will reflect a more accurate and actual reading 
  1150.       that factors in available swap pages. Please be aware that enabling this 
  1151.       option will cause the Free VRam reading to be inconsistent with OS/2 
  1152.       System Information Tool for "Total Available Memory". 
  1153.  
  1154.    9. Reflect Reserved in VRam. This option provides the ability to have the 
  1155.       Free Virtual Memory calculation reflect (or not reflect) the reserved 
  1156.       disk space as specified in the "swappath" directive of your OS/2 
  1157.       Config.Sys. When enabled, the Free Virtual RAM (VRam) calculation will 
  1158.       reflect a more accurate and actual reading that factors in this reserved 
  1159.       disk space. Please be aware that enabling this option will cause the Free 
  1160.       VRam reading to be inconsistent with OS/2 System Information Tool for 
  1161.       "Total Available Memory". 
  1162.  
  1163.   10. Reflect Free RAM in VRam. This option provides the ability to have the 
  1164.       Free Virtual Memory calculation reflect (or not reflect) free Real memory 
  1165.       in the calculation of Free/Used Virtual memory. Ones definition of 
  1166.       Virtual Memory may or may not include Real Memory into the calculation. 
  1167.       This option provides you the ability to select your choice of definition. 
  1168.       When enabled, the Free Virtual RAM (VRam) calculation will result in a 
  1169.       very different value, as compared to disabled, and will fluctuate often 
  1170.       as Real RAM is used and freed. The opposite will occur when this option 
  1171.       is disabled. Please be aware that disabling this option will cause the 
  1172.       Free VRam reading to be inconsistent with OS/2 System Information Tool 
  1173.       for "Total Available Memory". 
  1174.  
  1175.   11. Message Popup Seconds option allows you to define how long (seconds) PM 
  1176.       Patrol should display popup messages. The default is 4 seconds. 
  1177.  
  1178.   12. Auto-Popup Menu option causes the PM Patrol Status Line popup menu to 
  1179.       automatically popup when the mouse is moved over the Status Line within 1 
  1180.       inch of the right or left side of the screen. No mouse click is 
  1181.       necessary. Where the mouse pointer is outside of these 1 inch boundaries, 
  1182.       PM Patrol behaves normally. This feature is nice for those who want 
  1183.       ultra-fast access to PM Patrol features. When enabled, the double-click 
  1184.       option off the Status Line is disabled. To access to PM Patrol "Options" 
  1185.       window, select it off the popup menu. 
  1186.  
  1187.   13. Bitmap in Popup Menu option enables or disables displaying the PM Patrol 
  1188.       bitmap in the Utility Popup menu accessed from the PM Patrol Status Line. 
  1189.  
  1190.   14. The Sync Time with Server option enables or disables synchronization of 
  1191.       date and time as compared to the network server currently logged-on to. 
  1192.       When enabled and logged-on to a LAN Server, PM Patrol will (every 10 
  1193.       minutes) synchronize the date and time with the LAN Server. This is set 
  1194.       off by default. 
  1195.  
  1196.   15. The Check floppy at Shutdown will cause PM Patrol to warn you when PM 
  1197.       Patrol is shutdown that there is a floppy diskette mounted in the boot 
  1198.       floppy drive. 
  1199.  
  1200.   16. The CPU Magnification provides the ability to magnify actual CPU 
  1201.       utilization. The value specified is a multiplier (1x, 2x, ... 25x). 
  1202.       Setting magnification to 1 will result in the same value for actual CPU. 
  1203.       The magnification can be monitored in either PM Patrol's Status Line or 
  1204.       Activity Monitor. By default, this option is not enabled in the Activity 
  1205.       Monitor and is set to 5 times (5x) in General Settings. This feature of 
  1206.       PM Patrol lends itself to high-end i486 and Pentium based CPUs and allows 
  1207.       the ability to "zoom" into CPU usage less than 1 percent. PM Patrol will 
  1208.       not report CPU magnification higher than 100 percent. 
  1209.  
  1210.   17. The Battery Calibration option allows you to specify the "zero" value for 
  1211.       the mobile computer's battery. The OS/2 APM facilities assume the battery 
  1212.       to be 100% new. As the battery ages, the original maximum life of the 
  1213.       battery diminishes. Especially for NICad batteries. PM Patrol allows you 
  1214.       to specify a "new" maximum life. When set at zero, observe the PM Patrol 
  1215.       "Bat" percentage. When your computer informs you the battery is 
  1216.       dangerously low (usually several short beeps), observe the percentage 
  1217.       that PM Patrol reports. This value becomes the new "zero" point. Select 
  1218.       this value in the "Calibration" field in the "General Settings" dialog. 
  1219.       Repeat this process every 3-4 months to ensure accurate and reliable 
  1220.       battery readings. 
  1221.  
  1222.  The following items discuss print Spooler options: 
  1223.  
  1224.    1. The Monitor Remote Queue(s) item allows you to select "local" or "Remote" 
  1225.       print queue(s) on a LAN Server and requires IBM LAN Requester be 
  1226.       installed on the local workstation. When enabled, the LAN Server 
  1227.       currently logged-on to is monitored.  PM Patrol automatically recognizes 
  1228.       when a new or different server is logged-on to and adjusts the monitoring 
  1229.       for that server. When not selected, the local workstation print queues 
  1230.       are monitored. This is the default. 
  1231.  
  1232.    2. PM Patrol displays a "?" on the Status Line when it can not poll print 
  1233.       spooler data - perhaps when the user is not logged-on to the server. 
  1234.  
  1235.    3. Monitoring a remote print spooler is only applicable if you have LAN 
  1236.       Requester installed on your workstation, and you are logged onto the 
  1237.       network server. 
  1238.  
  1239.    4. The "Total all Print Queues" option allows you to summarize all print 
  1240.       jobs across all queues and report this value. If this option is NOT 
  1241.       selected, PM Patrol reports the number of print jobs in each spooler 
  1242.       queue along with the status of the queue (h=held or r=released). 
  1243.  
  1244.  The Viewer identifies which OS/2 program/utility to use for viewing.  PM 
  1245.  Patrol uses this for Log viewing and others purposes as they surface in future 
  1246.  releases of PM Patrol. 
  1247.  
  1248.  The Editor identifies which OS/2 program/utility to use for editing.  PM 
  1249.  Patrol uses this for the "Fast Find" files facility and other purposes as they 
  1250.  surface in future releases of PM Patrol. 
  1251.  
  1252.  
  1253. ΓòÉΓòÉΓòÉ 9.2.3. Event Settings ΓòÉΓòÉΓòÉ
  1254.  
  1255. The following items discuss Event monitor options. The Sound Bites for the 
  1256. following events will only occur when "Sound Bites" is enabled in the "General 
  1257. Settings" window and MMPM/2 is installed on your system. 
  1258.  
  1259. When these selected events occur, you will be notified (if enabled) at the 
  1260. frequency specified under "Event Frequencies". By default, you are notified 
  1261. every 5 minutes after the event threshold has been exceeded and sustained for 1 
  1262. minute. 
  1263.  
  1264. Notification occurs in the form of Sound Bites (if enabled), speaker sounds, 
  1265. and/or short popup messages. For systems which are not multimedia enabled, PM 
  1266. Patrol will sound a short audible alarm when event thresholds are exceeded. 
  1267.  
  1268. When you start-up PM Patrol, events will not occur within the first 15 seconds 
  1269. while PM Patrol calibrates itself and initially samples all resources. 
  1270.  
  1271. PM Patrol events include: 
  1272.  
  1273.    1. Battery below ... option will cause PM Patrol to notify you when 
  1274.       remaining battery life drops below the percentage specified. This option 
  1275.       is available only for mobile computer systems with OS/2's Advanced Power 
  1276.       Management. 
  1277.  
  1278.    2. Avg CPU above ... option will cause PM Patrol to notify you when average 
  1279.       CPU exceeds the percentage specified. 
  1280.  
  1281.    3. Virtual RAM below ... option will cause PM Patrol to notify you when 
  1282.       available virtual memory falls below the amount specified. This amount is 
  1283.       represented in terms of Megabytes (MB). 
  1284.  
  1285.    4. Free Swap below  ... option will cause PM Patrol to notify you when 
  1286.       available swap space falls below the percentage specified. 
  1287.  
  1288.    5. Free RAM below  ... option will cause PM Patrol to notify you when 
  1289.       available RAM falls below the percentage specified. This option is not 
  1290.       recommended for use by systems with less than 16 MB of memory. 
  1291.  
  1292.    6. Swap File above... option will cause PM Patrol to notify you when the 
  1293.       OS/2 swap file (SWAPPER.DAT) exceeds the size specified. This size is 
  1294.       specified in terms of megabytes (MB). 
  1295.  
  1296.    7. Drive 1-6 below... option will cause PM Patrol to notify you when free 
  1297.       disk space falls below the amount specified. This amount is represented 
  1298.       in terms of megabytes (MB). The drive to be monitored must be selected in 
  1299.       the list box on the main "Options" dialog. You will not be able to select 
  1300.       event monitoring for the desired drive until this selection is done. 
  1301.  
  1302.  PM Patrol provides three different Notification Methods when event thresholds 
  1303.  are exceeded: 
  1304.  
  1305.    1. The Messages option will cause PM Patrol to notify you in the form of a 
  1306.       brief message when the above events occur. This message is a small pop-up 
  1307.       window that temporarily grabs the foreground for about 3-4 seconds. This 
  1308.       method is rather obtrusive and will visually interupt what your're 
  1309.       currently working on. Each event has a specific message. 
  1310.  
  1311.    2. The Sound Bites option will cause PM Patrol to notify you in the form of 
  1312.       multimedia sound effects when the above events occur. These sounds 
  1313.       require MMPM/2 and are background. 
  1314.  
  1315.    3. The PC Speakers option will cause PM Patrol to notify you in the form of 
  1316.       a short beep when the above events occur. 
  1317.  
  1318.    4. PM Patrol's Data Collection Facility APIs provide a means of real-time 
  1319.       event notification. 
  1320.  
  1321.  The Notification Frequencies allow you set two important setting which allow 
  1322.  you to control how often you are notified once an event threshold is exceeded, 
  1323.  and how long must the threshold be exceeded before notificaton occurs. 
  1324.  
  1325.    1. The Sustained State control informs PM Patrol to wait a certain amount of 
  1326.       time (seconds) while the threshold is exceeded before notifying you via 
  1327.       the methods you have selected. Hence, the threshold has to sustain an 
  1328.       exceeded state for the time you specifiy. 
  1329.  
  1330.    2. The Renotification control allows you to select how often you want to be 
  1331.       notified after the "Sustained State" has occured. Specifying zero will 
  1332.       turn off Renotification. When turned off, you will only be notified once 
  1333.       - when the Sustained State is reached. 
  1334.  
  1335.  The Event Monitor Window collects ALL selected events - even if you have 
  1336.  chosen not to be notified. The last time and the value of the "Sustained 
  1337.  State" of the event are reported in this window. 
  1338.  
  1339.  
  1340. ΓòÉΓòÉΓòÉ 9.2.4. Logger Settings ΓòÉΓòÉΓòÉ
  1341.  
  1342. The following items discuss Logger Settings: 
  1343.  
  1344.    1. The Log Items allows you to select which PM Patrol monitors you would 
  1345.       like to record while logging is active. Once the Logger is active, these 
  1346.       options are inaccessible.  Stop the Logger to change the "Logger 
  1347.       Settings". 
  1348.  
  1349.       Note:  The Process Detail option provides the ability to have PM Patrol 
  1350.       also log process detail information as seen in PM Patrol's Process 
  1351.       Monitor window. This additional detail will list all programs that are 
  1352.       active along with their process ID (PID) and the CPU used per process. 
  1353.       Enabling this will cause the log file size to increase based on the 
  1354.       number of processes actively running. 
  1355.  
  1356.    2. The Log Frequency allows you to select the frequency at which PM Patrol 
  1357.       logs selected monitor items. Valid values are 1 to 60 seconds (1 minute). 
  1358.  
  1359.    3. The Log Duration allows you to select how long (minutes) to perform 
  1360.       logging.  Valid values are 1 minute to 1440 (all day). 
  1361.  
  1362.       Note:  Specifying 1440 minutes enables continuous logging.  With this 
  1363.       enabled, the log files (primary and backup) get "rolled-over" at 
  1364.       midnight. The "Notify when Done" option is ignored when continuous 
  1365.       logging is enabled. 
  1366.  
  1367.       Note:  Worst case disk requirement for all day logging with backup is 16 
  1368.       MB. 1/2 of this when "Backup log File" is not enabled. 
  1369.  
  1370.       Note:  While continuous logging is active, the primary log file can not 
  1371.       be viewed. The backup log file (from the previous day) is always 
  1372.       accessible. 
  1373.  
  1374.    4. The Foreground Color and Background Color push-button items allow you to 
  1375.       select the PM Patrol Status Line colors when logging is active.  The 
  1376.       default colors reverse the foreground and background colors. 
  1377.  
  1378.    5. The Backup Log File causes the primary log file to be backed-up each time 
  1379.       a "Start Log" is initiated.  With this disabled, the primary log file is 
  1380.       overwritten. 
  1381.  
  1382.    6. The Notify When Done option provides the ability to have PM Patrol popup 
  1383.       a message on the OS/2 Desktop when logging has reached it's completion 
  1384.       via the "Log Duration" setting.  This is ignored for "Continuous 
  1385.       Logging". 
  1386.  
  1387.    7. The Path entry field allows you to specify the path location for both 
  1388.       primary and backup log files. 
  1389.  
  1390.       Note:  The primary and backup log files created by PM Patrol are named 
  1391.       "PMPATROL.LOG" for the primary and "PMPATROL.BAK" for the backup log 
  1392.       file. Both the primary and backup log files are ASCII.  Therefore, they 
  1393.       can be viewed and otherwise manipulated using such tools as Rexx, AWK, 
  1394.       and GREP. 
  1395.  
  1396.  The PM Patrol Logger is designed with special consideration for performance 
  1397.  and can be used in a variety of situations: 
  1398.  
  1399.    1. Real-time and time critical. Samples recorded every second. 
  1400.  
  1401.    2. Aggressive. Samples recorded every 2-3 seconds. 
  1402.  
  1403.    3. Casual. Samples recorded every minute. 
  1404.  
  1405.  The Logger buffers output to minimize disk write efforts. Worst case, the 
  1406.  Logger requires 1 physical disk write for every 10 Log records. 
  1407.  
  1408.  Because of the buffering technique used by the Logger, there are no special 
  1409.  performance requirements imposed on the user. However, it is recommended that 
  1410.  "Lazy Write" be enabled in the OS/2 CONFIG.SYS to improve OS/2 overall disk 
  1411.  performance and further minimize the PM Patrol Logging effort. 
  1412.  
  1413.  
  1414. ΓòÉΓòÉΓòÉ 9.2.5. Refresh Settings ΓòÉΓòÉΓòÉ
  1415.  
  1416. The following items discuss Refresh Settings for PM Patrol monitors. When 
  1417. setting these controls, try to stagger them so that each item occurs at a 
  1418. different time. 
  1419.  
  1420. The lower the frequency setting for a given monitor, the more timing-accurate 
  1421. the monitor will be. However, this lower frequency also causes PM Patrol to 
  1422. sample the resource more often thus creating more overhead. For i486 and 
  1423. Pentium based systems, setting these frequencies to minimum values will NOT 
  1424. create adverse effects. CPU overhead for PM Patrol is mimimal. 
  1425.  
  1426. The higher the frequency setting for a given monitor, the less timing-accurate 
  1427. and reliable the monitor will be. However, this higher frequency also reduces 
  1428. PM Patrol overhead for i386 based systems. 
  1429.  
  1430.    1. The Network Monitors refresh setting controls how often (seconds) PM 
  1431.       Patrol samples network presence, I/O statistics, logon, and workstation 
  1432.       status. The Network Monitor window is updated at this frequency as well. 
  1433.  
  1434.    2. The Spool Monitor refresh setting controls how often (seconds) PM Patrol 
  1435.       enumerates the total number of print jobs across all print queues. 
  1436.  
  1437.    3. The Drive Monitors refresh setting controls how often (seconds) PM Patrol 
  1438.       checks what drives are on-line and how much free disk space exists on 
  1439.       each. This does not effect the refresh of the Drives Monitor window which 
  1440.       updates every minute. 
  1441.  
  1442.    4. The Swap Monitor refresh setting controls how often (seconds) PM Patrol 
  1443.       checks how large the OS/2 swapper file is and how much free swapper space 
  1444.       there is. 
  1445.  
  1446.    5. The Activity Monitor refresh setting controls how often (seconds) PM 
  1447.       Patrol refreshes the items in the Activity Monitor window. 
  1448.  
  1449.    6. The Memory Monitors refresh setting controls how often (seconds) PM 
  1450.       Patrol checks free, virtual, and resident memory. The Memory Monitor 
  1451.       window is updated at this frequency as well. 
  1452.  
  1453.    7. The Process Monitors refresh setting controls how often (seconds) PM 
  1454.       Patrol refreshes the Process Monitor window, Process Summary information 
  1455.       in the PM Patrol Status Line, and Process Meter data collection (when 
  1456.       enabled). The other Process Monitor functions do not automatically 
  1457.       refresh and are therefore not subject to this refresh control. 
  1458.  
  1459.    8. The User Defined Monitor refresh setting controls how often (seconds) PM 
  1460.       Patrol refreshes the User Defined Monitor information in PM Patrol's main 
  1461.       Status Line. Using the PM Patrol "DCFUserDefined" API within a C/C++ 
  1462.       program, you can format a monitor buffer of your choice. Refer to the API 
  1463.       description for DCFUserDefined for details. 
  1464.  
  1465.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1466.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1467.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1468.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1469.  following, but never lower: 
  1470.  
  1471.    1. 5 seconds for i386 class computers 
  1472.  
  1473.    2. 4 seconds for i486 class computers 
  1474.  
  1475.    3. 3 seconds for Pentium class computers 
  1476.  
  1477.  
  1478. ΓòÉΓòÉΓòÉ 9.2.6. Status Line Font ΓòÉΓòÉΓòÉ
  1479.  
  1480. The Status Line Font option allows you to set the display font for the PM 
  1481. Patrol Status Line window. 
  1482.  
  1483. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  1484.  
  1485. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1486. dragging the font to the PM Patrol Status Line. 
  1487.  
  1488.  
  1489. ΓòÉΓòÉΓòÉ 9.2.7. Status Line Colors ΓòÉΓòÉΓòÉ
  1490.  
  1491. The Status Line Colors option allows you to set the foreground and background 
  1492. colors for the PM Patrol Status Line window. 
  1493.  
  1494. The Color Propagation option informs PM Patrol to use the color settings 
  1495. selected throughout all PM Patrol windows - as opposed to the current OS/2 
  1496. color definitions. 
  1497.  
  1498. Note:  The font of choice for the PM Patrol Status Line is the "System VIO" 
  1499. family. 
  1500.  
  1501. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1502. dragging the font to the PM Patrol Status Line. 
  1503.  
  1504.  
  1505. ΓòÉΓòÉΓòÉ 9.2.8. Security ΓòÉΓòÉΓòÉ
  1506.  
  1507. The Security option allows you to set a password that restricts access to PM 
  1508. Patrol configuration, settings, and monitor items. 
  1509.  
  1510. Simply enter a password and PM Patrol security is enabled. To turn off 
  1511. security, simply remove the password. 
  1512.  
  1513. When enabled, the security will restrict access to: 
  1514.  
  1515.    1. All "Options" dialog functions 
  1516.  
  1517.    2. Changing monitored items from the "Utility" popup menu 
  1518.  
  1519.    3. The Program Settings dialog from the "Utility" popup menu 
  1520.  
  1521.    4. The Scheduler Settings dialog from the "Utility" popup menu 
  1522.  
  1523.    5. PM Patrol Logging functions from the "Utility" popup menu 
  1524.  
  1525.  
  1526. ΓòÉΓòÉΓòÉ 9.3. Exit ΓòÉΓòÉΓòÉ
  1527.  
  1528. This option is used to end the PM Patrol program 
  1529.  
  1530.  
  1531. ΓòÉΓòÉΓòÉ 9.4. Status Line Options ΓòÉΓòÉΓòÉ
  1532.  
  1533. This section describes PM Patrol's Status Line Options and Graphs available in 
  1534. the "Options" window. The descriptions and application of the individual Status 
  1535. Line Monitors are discussed in detail under the on-line help section called 
  1536. "Status Line". 
  1537.  
  1538. Some of these options may be grayed-out and inaccessible if the related monitor 
  1539. is not selected in the Status Line Monitor list-box. 
  1540.  
  1541. The CPU Average option enables or disables the display of the "rolling average" 
  1542. of CPU activity covering the last 1 minute. This option is accessible only when 
  1543. "CPU Monitor" is selected in "Status Line" monitors. 
  1544.  
  1545. The CPU Magnified option enables or disables the display of CPU magnification 
  1546. as setup in the General Settings. This option is accessible only when "CPU 
  1547. Monitor" is selected in "Status Line" monitors and offers the ability to 
  1548. monitor CPU activity at a very granular level. 
  1549.  
  1550. The Float to Top option enables or disables the PM Patrol Status Line being 
  1551. kept as the "topmost" window on the OS/2 desktop and therefore visible all the 
  1552. time. When obscured by another window, the Status Line will "float" to the top 
  1553. of the desktop - but will not be the active window. 
  1554.  
  1555. Note:  Refer to the on-line help section "Trouble Shooting" for idiosyncrasies 
  1556. associated with the "Float to Top" option under OS/2 versions 2.1 and 2.11. 
  1557.  
  1558. The Show Open Files option allows you to include the total number of open files 
  1559. in your OS/2 system as part of the Process Summary monitor. 
  1560.  
  1561. Inverted Real RAM, Virtual RAM, and Swap. By default, PM Patrol shows Swap, 
  1562. Real, and Virtual RAM in terms of "Free" and available resource on the Status 
  1563. Line. These options allow you to "invert" or reverse how the respective monitor 
  1564. and graph is shown on the Status Line to reflect resource taxation similar to 
  1565. PM Patrol's CPU monitor. 
  1566.  
  1567. Note:  This option only effects the PM Patrol Status Line and not other windows 
  1568. within PM Patrol or PM Patrol's Logger. 
  1569.  
  1570. The Show Floppies option enables or disables the display of floppy disk drives 
  1571. in the "Drives On-line" monitor. 
  1572.  
  1573. The Show Seconds option enables or disables PM Patrol displaying current 
  1574. seconds within the Time on the main Status Line. 
  1575.  
  1576. The Show Julian Date option enables or disables PM Patrol displaying the 
  1577. current Julian date (in addition to the normal Gregorian date) on the main 
  1578. Status Line. 
  1579.  
  1580. The Show Decimals option enables or disables PM Patrol displaying the decimal 
  1581. position for several of the Status Line monitors. When disabled, PM Patrol will 
  1582. apply standard rounding across affected values. 
  1583.  
  1584. The Show Compact option enables or disables PM Patrol displaying status 
  1585. information in "compact" form. When enabled, the monitor items on the PM Patrol 
  1586. Status Line have their abbreviations (i.e. "Ram", "Spl") removed thus allowing 
  1587. for more room within the Status Line window. 
  1588.  
  1589. The Show Total INet option instructs PM Patrol to display the total Internet 
  1590. Connect-Time on the Status Line as well as the per-instance connect time. When 
  1591. disabled, PM Patrol will show the current active Internet Connect-Time - upon 
  1592. re-connection, the connect-time will be reset to zero. The total connect time 
  1593. is saved when PM Patrol is shutdown and carried across each invocation of PM 
  1594. Patrol. The Internet Connect-Time is reliable as long as PM Patrol is active 
  1595. and able to monitor when Internet connects occur. 
  1596.  
  1597. The CPU Graph option enables or disables a visually graphic display of CPU 
  1598. activity. This option is accessible only when "CPU Monitor" is selected in 
  1599. "Status Line" monitors. 
  1600.  
  1601. The RAM Graph option enables or disables a visually graphic display of free or 
  1602. used Real RAM. If the "Invert Real RAM" option is selected, this will show used 
  1603. Real RAM. Otherwise, free and available Real RAM is displayed. This option is 
  1604. accessible only when "Real RAM Monitor" is selected in "Status Line" monitors. 
  1605.  
  1606. The Resident RAM Graph option enables ordisables a visually graphic display of 
  1607. current Resident RAM as compared to total physical memory. This option is 
  1608. accessible only when "Resident RAM" is selected in "Status Line" monitors. 
  1609.  
  1610. The Virtual RAM Graph option enables or disables a visually graphic display of 
  1611. free or used Virtual RAM. If the "Invert Virtual RAM" option is selected, this 
  1612. will show used Virtual RAM. Otherwise, free Virtual RAM is displayed. It is 
  1613. accessible only when "Virtual RAM" is selected in "Status Line" monitors. 
  1614.  
  1615. The Swap Graph option enables/disables a visually graphic display of current 
  1616. free or usedswap as compared to the current size of the swap file and is 
  1617. accessible only when "Swap Monitor" is selected in "Status Line" monitors. If 
  1618. the "Invert Swap" option is selected, this will show used Swap. Otherwise, free 
  1619. and available Swap is displayed. 
  1620.  
  1621.  
  1622. ΓòÉΓòÉΓòÉ 9.5. Status Line Monitors ΓòÉΓòÉΓòÉ
  1623.  
  1624. The Status Line Monitors list-box contains all the PM Patrol monitors that you 
  1625. may select for display on the PM Patrol Status Line. 
  1626.  
  1627. Selecting monitor items for the Status Line does NOT imply that these same 
  1628. selected monitors are those which are logged via PM Patrol's Logging facility. 
  1629. The Logging facility contains its own monitor selections and can be customized 
  1630. under the "Logger Settings" dialog. 
  1631.  
  1632. The Status Line is updated immediately when monitors are selected or 
  1633. deselected. 
  1634.  
  1635. These monitor items within the listbox are discussed in detail under the 
  1636. on-line help section called "Status Line". 
  1637.  
  1638.  
  1639. ΓòÉΓòÉΓòÉ 10. Monitors ΓòÉΓòÉΓòÉ
  1640.  
  1641. This section describes various performance monitors of PM Patrol. 
  1642.  
  1643.  
  1644. ΓòÉΓòÉΓòÉ 10.1. Activity Monitor ΓòÉΓòÉΓòÉ
  1645.  
  1646. The Activity Monitor window provides a line-graph view of several OS/2 
  1647. resources. 
  1648.  
  1649.    1. "Free Swap" is a blue line and represents free swapper space. When 
  1650.       enabled, the "Used Swap" graph line is disabled. 
  1651.  
  1652.    2. "Used Swap" is a blue line and represents used swapper space. When 
  1653.       enabled, the "Free Swap" graph line is disabled. Due to the nature and 
  1654.       dynamics of OS/2's method of virtual memory swapping, PM Patrol's 
  1655.       calculation of swap utilization can result in an approximation. 
  1656.  
  1657.    3. "Current CPU" is a yellow line and represents the current CPU 
  1658.       utilization. 
  1659.  
  1660.    4. "Average CPU" is a white line and represents the rolling average CPU 
  1661.       utilization. 
  1662.  
  1663.    5. "Magnified CPU" is a pink line (may be purplish on color depths greater 
  1664.       than 640x480) and represents a magnified CPU utilization. The level of 
  1665.       magnification is specified in "General Settings". By default, this option 
  1666.       is not enabled and is set for 90 percent magnification in General 
  1667.       Settings. This feature of PM Patrol lends itself to high-end i486 and 
  1668.       Pentium based CPUs. Magnification is not reflected in the normal CPU 
  1669.       monitor on the PM Patrol Status Line window. 
  1670.  
  1671.    6. "Free RAM" is a green line and represents memory available for OS/2 and 
  1672.       applications. When enabled, the "Used RAM" graph line is disabled. 
  1673.  
  1674.    7. "Used RAM" is a green line and represents the memory in use by OS/2 and 
  1675.       applications. When enabled, the "Free RAM" graph line is disabled. 
  1676.  
  1677.    8. "Resident RAM" is a cyan line represents resident non-swappable memory 
  1678.       locked by OS/2 or applications. 
  1679.  
  1680.    9. "Swappable RAM" is a red line and represents memory capable of being 
  1681.       swapped-out by OS/2. 
  1682.  
  1683.  This window is refreshed automatically at the frequency as set in the "Refresh 
  1684.  Settings" setting "Activity Monitor". 
  1685.  
  1686.  The following itemizes the mouse button activities for the Activity Monitor. 
  1687.  
  1688.    1. A "Chord-Click" (left and right mouse buttons together) in the Activity 
  1689.       Monitor window will toggle the window title bar on and off. 
  1690.  
  1691.    2. A "Double-Click" with the left button in the Activity Monitor window will 
  1692.       toggle between Maximized and Restore views for the window. This is a 
  1693.       useful feature when the "Hide Title Bar" feature is used. 
  1694.  
  1695.    3. A "Single-Click" with the right button in the Activity Monitor window 
  1696.       will popup a menu allowing you select which line graphs to view and 
  1697.       change window controls ("Hide Title Bar", "Smoothed Lines", and "Float to 
  1698.       Top"). 
  1699.  
  1700.    4. Holding down the right mouse button (button 2), you may drag the Activity 
  1701.       Monitor window to the desired position. 
  1702.  
  1703.  The "Float to Top" option enables or disables the Activity Monitor window 
  1704.  being kept as the "topmost" window on the OS/2 desktop and therefore visible 
  1705.  all the time. 
  1706.  
  1707.  When enabled, the "Smoothed Lines" option will attempt to "fillet" or 
  1708.  smooth-out the line graphs reducing the effect of sharp jagged points. 
  1709.  
  1710.  Note:  "Smoothed Lines" will cause more overhead during refresh. If you have a 
  1711.  slower machine, you should be aware of this. An additional 3-5% more overhead 
  1712.  per refresh is not uncommon - depending on the speed of your computer. 
  1713.  
  1714.  When enabled, the "Sliding Graph" option will maintain a continuous graph that 
  1715.  will slide left 1 point after each refresh, thus filling the entire window 
  1716.  width of the graphing area. Otherwise, the graph lines will be "centered" and 
  1717.  will cause graph lines to restart from the center of the graph window when the 
  1718.  graph lines reach the rightmost edge. 
  1719.  
  1720.  The "Hide Title Bar" option allows the window to be sized to a minimum size 
  1721.  without the window title bar and controls getting in the way. 
  1722.  
  1723.  Accessed from the Activity Monitor popup window, the Legend shows the identity 
  1724.  and color of each monitor line along with the current statistics for each 
  1725.  monitor item. The legend can be configured to start-up automatically when the 
  1726.  Activity Monitor is started by selecting the "Auto-Start Legend" option also 
  1727.  in the popup menu. 
  1728.  
  1729.  Additionally, the "Persistent Legend" causes the legend to be started and 
  1730.  remain visible while the Activity Monitor is in a maximized state. 
  1731.  
  1732.  
  1733. ΓòÉΓòÉΓòÉ 10.2. Process Monitor ΓòÉΓòÉΓòÉ
  1734.  
  1735. The Process Monitor window provides the ability to monitor OS/2 active 
  1736. processes, threads, process and thread priorities, shared memory, DLLs, and CPU 
  1737. use per process. Processes (PIDs) can be "killed" by selecting "Kill" from the 
  1738. "Action" menu. 
  1739.  
  1740. Note:  With all PM Patrol Monitor windows (i.e. Process Monitor, Memory 
  1741. Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1742. much overhead for some slower 386 class computers. Therefore, you may need to 
  1743. use these windows selectively and not continuously. The Process Monitor window 
  1744. will increase PM Patrol's CPU requirements by an additional 1-3 percent 
  1745. depending on your CPU speed. 
  1746.  
  1747. The container control in the Process Monitor window supports right-click popups 
  1748. for quick access to "Action" items and double-click selections. Double-clicking 
  1749. in the Process Monitor window invokes the Thread Monitor for the Process ID 
  1750. selected. 
  1751.  
  1752. The "View" menu item provides options to let you select the desired Process 
  1753. Monitor display and the following detail items: 
  1754.  
  1755.    1. The "Background" option switches the display to include/exclude processes 
  1756.       which are "System" or "Detached" process types or have no Session ID 
  1757.       (SID). This option provides the ability to focus only on "Foreground" 
  1758.       programs active on your system. Foreground programs will include all OS/2 
  1759.       PM, OS/2 character based, and DOS+Windows programs. When background 
  1760.       processes are filtered-out, the Process Monitor window will show the 
  1761.       total CPU used by background processes under the name "Bgnd (n)". Where n 
  1762.       reflects the number of process in the background. 
  1763.  
  1764.    2. The "Idle Time" option switches the display to include/exclude Idle 
  1765.       System time. When applications consume CPU, "Idle System" will decrease. 
  1766.       When your system sits idle, "Idle System" increases. When enabled, idle 
  1767.       CPU will be shown under the name "Idle Time". 
  1768.  
  1769.    3. The "Run-Time" option provides the ability to view the duration for which 
  1770.       a process has been active and running and is only applicable to the 
  1771.       "Process Monitor" window. 
  1772.  
  1773.    4. The "Session Title" option switches the display from executable names to 
  1774.       session names and is applicable to the "Process Monitor" and "Process 
  1775.       Summary" windows only. Some instances will show what appears to be a 
  1776.       duplicate session name. This occurs when one or more processes have the 
  1777.       same OS/2 Group Session/Screen ID. There is NOT always a 1 to 1 
  1778.       relationship between a Process and a Session. 
  1779.  
  1780.       Note:  Not all processes have a Session and will therefore display the 
  1781.       executable name instead. This occurs when the process never had a Session 
  1782.       to begin with, such as a daemon processes ("Detached" or "System" session 
  1783.       types). 
  1784.  
  1785.    5. The "Float to Top" option enables or disables the Process Monitor window 
  1786.       being kept as the "topmost" window on the OS/2 desktop and therefore 
  1787.       visible all the time. When obscured by another window, the Process 
  1788.       Monitor window will "float" to the top of the desktop - but will not be 
  1789.       the active window. 
  1790.  
  1791.       Note:  Refer to the on-line help section "Trouble Shooting" for 
  1792.       idiosyncrasies associated with the "Float to Top" option under OS/2 
  1793.       versions 2.1 and 2.11. 
  1794.  
  1795.  Note:  The Process Monitor window will always attempt to display the Session 
  1796.  Title for DOS/Windows programs. In the event that this can not be 
  1797.  accomplished, the name "dos/win" will be used. 
  1798.  
  1799.  The "Process Meter" option provides an alternative access point for the 
  1800.  Process Meter window and can also be accessed from the PM Patrol Utility 
  1801.  pop-up window. 
  1802.  
  1803.  The data displayed in the Process Monitor window is outlined below. Press 
  1804.  Escape to exit the window and terminate the "Process Monitor" facility. 
  1805.  
  1806.    1. "PID" Process ID (displayed as a hex value) 
  1807.  
  1808.    2. "Type" Session Type of process. Session types are categorized as: 
  1809.  
  1810.         a. "Sys" OS/2 System type processes. 
  1811.  
  1812.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1813.  
  1814.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1815.            represents Virtual Input/Output. 
  1816.  
  1817.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1818.            Machine. 
  1819.  
  1820.         e. "Det" OS/2 detached background processes (daemons). 
  1821.  
  1822.    3. "HPri" Identifies the Highest PRIority class for the process across all 
  1823.       threads within the process. Refer to the Thread Monitor section below for 
  1824.       detailed descriptions of priority Classes. 
  1825.  
  1826.    4. "Thd" Number of threads in the process 
  1827.  
  1828.    5. "Run-Time" represents the duration for which a process has been actively 
  1829.       running and has the format "dd hh:mm" where: 
  1830.  
  1831.         a. "dd" is Days 
  1832.  
  1833.         b. "hh" is Hours 
  1834.  
  1835.         c. "mm" is Minutes 
  1836.  
  1837.       Note:  The "Run-Time" of a process is relative to when PM Patrol was 
  1838.       started. If PM Patrol is stopped and then restarted, the "Run-Time" for 
  1839.       processes will reset. It is recommended that PM Patrol be placed in the 
  1840.       OS/2 "Startup" folder so it is automatically started when you boot your 
  1841.       system. As a result, the "Run-Time" values will reflect very accurate 
  1842.       results. 
  1843.  
  1844.    6. "Ram per Process" items are only available when OS20MEMU from IBM is 
  1845.       installed. This free software is available from our website. PM Patrol's 
  1846.       interface to OS20MEMU is seamless and automatic once installed. Refer to 
  1847.       the online help section "Installation" for OS20MEMU setup considerations. 
  1848.       The "Ram per Process" option can be removed from the Process Monitor 
  1849.       display by deselecting this option located within the "View" menu. 
  1850.  
  1851.         a. "TRamK" is the Total amount of private RAM (KB) which a process has 
  1852.            allocated and includes active, inactive, resident, and swapped-out 
  1853.            RAM. "TRamK" is often useful for identifing potential memory leaks 
  1854.            of particular process. 
  1855.  
  1856.         b. "RRamK" is the Resident (in-memory) amount of private RAM (KB) which 
  1857.            a process has consumed. Typically, "RRamK" is useful to identify the 
  1858.            on-going cost of real RAM a process taxes your system. 
  1859.  
  1860.       Note:  To disable the PM Patrol and OS20MEMU interface, use the "-m" 
  1861.       startup option when starting PM Patrol. 
  1862.  
  1863.    7. "CPU" Amount of Relative CPU time the process (PID) consumed since the 
  1864.       last sample along with a bar-graph representation and percentage of total 
  1865.       CPU load across all processes. This is a "relative" CPU load as compared 
  1866.       to other active OS/2, DOS, and Windows programs. 
  1867.  
  1868.    8. "Process" Name of the executable or session 
  1869.  
  1870.  The data displayed in the Process Summary is outlined below. Press Escape to 
  1871.  exit the window and return to "Process Monitor". 
  1872.  
  1873.    1. "PID" Process ID (displayed as a hex value) 
  1874.  
  1875.    2. "PPID" Parent Process ID (displayed as a hex value) 
  1876.  
  1877.    3. "SID" Session ID (displayed as a hex value) 
  1878.  
  1879.    4. "Type" Session Type of process 
  1880.  
  1881.    5. "HMod" Program Executable module handle (displayed as a hex value) 
  1882.  
  1883.    6. "Thd" Number of threads in the PID 
  1884.  
  1885.    7. "Sem" Number of semaphores used by the PID 
  1886.  
  1887.    8. "DLL" Number of DLL modules used by the PID 
  1888.  
  1889.    9. "Shr" Number of shared memory references used by PID 
  1890.  
  1891.   10. "MMT" Memory Model Type of process (16 or 32 bit) 
  1892.  
  1893.   11. "Process" Name of the executable or session 
  1894.  
  1895.  The data displayed in the Thread Monitor window is for a given PID and is 
  1896.  outlined below. Press Escape to exit the window and return to "Process 
  1897.  Monitor". 
  1898.  
  1899.    1. "TID" Thread ID (displayed as a hex value). 
  1900.  
  1901.    2. "Slot" Slot ID for the TID (displayed as a hex value). 
  1902.  
  1903.    3. "Block ID" Block identifier for a blocked TID (displayed as a hex value). 
  1904.       A thread that is a "Ready" state will typically have a "Block ID" of 
  1905.       zero. 
  1906.  
  1907.    4. "Pri" Current priority for the TID.  This displays both priority Class 
  1908.       along with the current Range priority (display in decimal format) within 
  1909.       the Class. Priority "Ranges" operate within a priority Class and range 
  1910.       from 0 to 31, 0 being the lowest and the "normal" OS/2 default. The Range 
  1911.       provides robust priority control and granularity. Priority Classes are 
  1912.       categorized as: 
  1913.  
  1914.         a. "Idle" for low priority processes which only get CPU when nothing 
  1915.            else is running and the lowest OS/2 priority. 
  1916.  
  1917.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1918.            will be seen most often. 
  1919.  
  1920.         c. "Fore" for foreground priority processes. This is used for 
  1921.            processes/threads which need to be treated as if they are the 
  1922.            "active" window. Net effect of this class makes the process thread 
  1923.            operate at near time-critical performance. 
  1924.  
  1925.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1926.            This is used for process threads which require guaranteed 
  1927.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1928.            short. 
  1929.  
  1930.    5. "Sys CPU" Amount of time thread spends in the OS/2 kernel along with the 
  1931.       percent of "Sys CPU" compared to TOTAL "Sys CPU" for all threads in the 
  1932.       same PID. 
  1933.  
  1934.    6. "User CPU" Amount of time application time for the thread along with the 
  1935.       percentage of "User CPU" compared to TOTAL "User CPU" for all threads in 
  1936.       the same PID.  This is relative to other threads getting time slices in 
  1937.       the same PID. 
  1938.  
  1939.    7. "State" Identifies what state the thread is in: Blocked, Frozen, Running, 
  1940.       or Ready. 
  1941.  
  1942.  The data displayed in Shared Memory window has the following attributes: Press 
  1943.  Escape to exit the window and return to "Process Monitor". 
  1944.  
  1945.    1. "HMem" Handle to memory allocation (displayed as a hex value) 
  1946.  
  1947.    2. "Sel" Selector to memory (displayed as a hex value) 
  1948.  
  1949.    3. "Refs" Number of references to the memory 
  1950.  
  1951.    4. "Name" Name of the memory used for obtaining addressability 
  1952.  
  1953.  The data displayed in the Dynamic Link Libs, Device Drivers, and File Systems 
  1954.  are outlined below. Press Escape to exit the window and return to "Process 
  1955.  Monitor". 
  1956.  
  1957.    1. "HMod" Handle to the module (displayed as a hex value) 
  1958.  
  1959.    2. "MMT" Memory Model Type of process (16 or 32 bit) 
  1960.  
  1961.    3. "Refs" Number of references to the module 
  1962.  
  1963.    4. "Name" Name of the module 
  1964.  
  1965.  
  1966. ΓòÉΓòÉΓòÉ 10.3. Process Meter ΓòÉΓòÉΓòÉ
  1967.  
  1968. The Process Meter window provides the ability to monitor process statistics for 
  1969. identifying duration and CPU consumption over a range of time. 
  1970.  
  1971. The "Process Metering" option in the PM Patrol "General Settings" dialog 
  1972. controls when this feature is active or inactive. For slower systems (i386 
  1973. class computers), turn Process Metering off if it is not used. 
  1974.  
  1975. By default, PM Patrol resets the Process Meter data base each time PM Patrol is 
  1976. started. This "Startup" option in PM Patrol's "General Settings" window 
  1977. controls this behavior. To keep PM Patrol from resetting the statistics, turn 
  1978. off the "Reset Process Meter" option. Doing so will cause PM Patrol to retain 
  1979. statistics across each invocation of PM Patrol. 
  1980.  
  1981. At the refresh interval as specified by "Process Monitors" in PM Patrol's 
  1982. "Refresh Settings", PM Patrol quietly collects vital information about active 
  1983. processes running on your system. The data collection algorithm used within the 
  1984. Process Meter facility is highly optimized and based on how frequently programs 
  1985. are used on your system, therefore using minimal CPU effort. 
  1986.  
  1987. All data is obtained by PM Patrol and requires no user input. 
  1988.  
  1989. The "Process Meter" window provides the ability to view several items about 
  1990. your programs over a range of time. This range of time is completely under your 
  1991. control as you have the ability to "Reset" the Process Meter data base any 
  1992. time. 
  1993.  
  1994.    1. Analyze the CPU consumption for each program you run relative to ALL 
  1995.       other programs that have been run since the last time you reset the 
  1996.       statistics. 
  1997.  
  1998.    2. Analyze the execution time used for each program you run relative to ALL 
  1999.       other programs that have been run since the last time you reset the 
  2000.       statistics. 
  2001.  
  2002.    3. Analyze the number of instances a program has been invoked. 
  2003.  
  2004.    4. Analyze the first and most recent date of execution for all processes run 
  2005.       on your OS/2 system. 
  2006.  
  2007.    5. Analyze the process types and priorities for all processes run on your 
  2008.       OS/2 system. 
  2009.  
  2010.    6. Sort in ascending order by process, CPU use, Run-Time, and frequency of 
  2011.       use. 
  2012.  
  2013.         a. Sort by Process sorts the list in alphabetic (ascending) order. 
  2014.  
  2015.         b. Sort by CPU Use sorts the list in descending order (processes 
  2016.            consuming most CPU are listed first). 
  2017.  
  2018.         c. Sort by Run-Time sorts the list in descending order (processes which 
  2019.            run the longest when executed are listed first). 
  2020.  
  2021.         d. Sort by Run-Count sorts the list in descending order (processes 
  2022.            which get run the most often are listed first). 
  2023.  
  2024.  Use the "Refresh" menu option (under "Action") for refreshing the Process 
  2025.  Meter window contents upon your request. PM Patrol will automatically update 
  2026.  this window for you every minute - but not when the Process Meter window is 
  2027.  the current "active" desktop window. This allows you to browse through the 
  2028.  list without being disturbed. 
  2029.  
  2030.  Use the "Reset Data Base" menu option (also under "Action") to initialize PM 
  2031.  Patrol's Process Meter data base. This erases the current list and restarts 
  2032.  the data collection process allowing you to monitor over a new range of time. 
  2033.  
  2034.  The Process Meter data base is maintained entirely by PM Patrol and saved when 
  2035.  PM Patrol is shutdown. The next time you run PM Patrol (typically at the next 
  2036.  OS/2 bootup) the data base is quickly reloaded and monitoring continues where 
  2037.  left off. 
  2038.  
  2039.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  2040.  active, can be negatively influenced by adjusting the "Process Monitors" 
  2041.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  2042.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  2043.  following, but never lower: 
  2044.  
  2045.    1. 5 seconds for i386 class computers 
  2046.  
  2047.    2. 4 seconds for i486 class computers 
  2048.  
  2049.    3. 3 seconds for Pentium class computers 
  2050.  
  2051.  The items displayed in the Process Meter window are: 
  2052.  
  2053.    1. "Process" represents the name of the executable 
  2054.  
  2055.    2. "Actual CPU" represents the actual CPU effort the process has used since 
  2056.       the last time the Process Meter was reset and reflects CPU usage only 
  2057.       when the process is active. This is an absolute CPU effort and not 
  2058.       relative to other programs run. Actual CPU tells you how much CPU the 
  2059.       process uses when its run. 
  2060.  
  2061.    3. "Relative CPU" represents the CPU effort the process has used, relative 
  2062.       to other programs used, since the last time the Process Meter was reset. 
  2063.  
  2064.    4. "Run-Time" represents the total amount of execution time for the process, 
  2065.       relative to other programs used, since the last time you performed a 
  2066.       "Reset Data Base". Next to "Run-Time" is the total execution time or 
  2067.       "Duration" for the process since the last "Reset Data Base". The format 
  2068.       displayed identifies Days, Hours, Minutes, and Seconds (Dd Hh:Mm.Ss). 
  2069.  
  2070.    5. "Run-Count" represents the total number of times the process has been 
  2071.       executed relative to other processes. The actual total number of 
  2072.       instances is identified under the heading "Frequency" (abbreviated as 
  2073.       "Freq"). 
  2074.  
  2075.    6. "Type" identifies the session type which are categorized as follows: 
  2076.  
  2077.         a. "Sys" OS/2 System type processes. 
  2078.  
  2079.         b. "PM " OS/2 Presentation Manager GUI processes. 
  2080.  
  2081.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  2082.            represents Virtual Input/Output. 
  2083.  
  2084.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  2085.            Machine. 
  2086.  
  2087.         e. "Det" OS/2 detached background processes (daemons). 
  2088.  
  2089.    7. "HPri" Identifies the Highest PRIority class for the process across all 
  2090.       threads within the process. The range of priority within OS/2 provides 
  2091.       robust priority control and granularity. Priority Classes are categorized 
  2092.       as: 
  2093.  
  2094.         a. "Idle" for low priority processes which only get CPU when nothing 
  2095.            else is running and the lowest OS/2 priority. 
  2096.  
  2097.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  2098.            will be seen most often. 
  2099.  
  2100.         c. "Fore" for foreground priority processes. This is used for 
  2101.            processes/threads which need to be treated as if they are the 
  2102.            "active" window. Net effect of this class makes the process thread 
  2103.            operate at near time-critical performance. 
  2104.  
  2105.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  2106.            This is used for process threads which require guaranteed 
  2107.            time-slices by OS/2 but the thread's CPU needs are typically very 
  2108.            short. 
  2109.  
  2110.    8. "MMT" represents the Memory Model Type of process (16 or 32 bit) 
  2111.  
  2112.    9. "Last Run" represents the last recent date the process was executed. 
  2113.  
  2114.   10. "First Run" represents the first date the process was executed. 
  2115.  
  2116.  Note:  This release of PM Patrol's Process Meter groups together the Run-time 
  2117.  and CPU efforts for all DOS+Win programs and identifies them in the Process 
  2118.  Meter list with a Process name of "DOS/Win". OS/2 command and REXX scripts 
  2119.  (.CMD) are reflected within the Process "cmd" - the actual executable which 
  2120.  supports REXX scripts. 
  2121.  
  2122.  
  2123. ΓòÉΓòÉΓòÉ 10.4. Memory Monitor ΓòÉΓòÉΓòÉ
  2124.  
  2125. The Memory Monitor window provides an optional view of several memory 
  2126. utilization monitors. 
  2127.  
  2128. This window is refreshed automatically at the frequency as set in the "Refresh 
  2129. Settings" setting "Memory Monitors". 
  2130.  
  2131.    1. The RAM Free item identifies current free memory. 
  2132.  
  2133.    2. The RAM Used item identifies current used memory. Combined, these two 
  2134.       items will always reflect 100% of the memory installed in your computer. 
  2135.  
  2136.    3. The Resident item identifies current resident or "fixed" memory which is 
  2137.       not swappable by OS/2. Most of this memory is owned and created by OS/2 
  2138.       and will vary little. 
  2139.  
  2140.    4. The Swappable item identifies current swappable memory and only includes 
  2141.       memory that is in use and not resident (or fixed). Therefore, the sum of 
  2142.       "Resident" and "Swappable" may not always equate to total physical 
  2143.       memory. Any difference can be attributed to free (unused) memory which is 
  2144.       not swapped. 
  2145.  
  2146.    5. The Virtual RAM item identifies current Virtual Memory capacity available 
  2147.       to OS/2. This item factors in available disk space for the drive which 
  2148.       the OS/2 swapper file is located as well as swapper file size. 
  2149.  
  2150.    6. The Swap Growth item identifies how much the swapper file has grown since 
  2151.       system boot. 
  2152.  
  2153.    7. The Swap Free item identifies how much free space remains in the OS/2 
  2154.       swapper file. 
  2155.  
  2156.    8. The Cache Read and Cache Write items identify the cache hit utilization 
  2157.       for HPFS386 and is only displayed when HPFS386 is installed and active. 
  2158.  
  2159.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2160.  Monitor, and Network Monitor) active and automatically refreshing, there may 
  2161.  be too much overhead for some slower 386 class computers. Therefore, you may 
  2162.  need to use these windows selectively and not continuously. 
  2163.  
  2164.  
  2165. ΓòÉΓòÉΓòÉ 10.5. Network Monitor ΓòÉΓòÉΓòÉ
  2166.  
  2167. The Network Monitor window provides an optional view of several LAN network 
  2168. utilization monitors. 
  2169.  
  2170. This window is refreshed automatically at the frequency as set in the "Refresh 
  2171. Settings" setting "Network Monitors". 
  2172.  
  2173. The Network Monitor window is inaccessible and grayed-out in the PM Patrol 
  2174. Utility menu when LAN Server components are not installed on the workstation. 
  2175.  
  2176.    1. The Machine item identifies the workstation ID and does not change unless 
  2177.       the workstation id is changed manually and the system rebooted. 
  2178.  
  2179.    2. The User item identifies the current user logged to the LAN. 
  2180.  
  2181.    3. The Server Id item identifies the server ID that is currently logged on 
  2182.       to by the active user. 
  2183.  
  2184.    4. The Domain item identifies the domain ID that is currently logged on to 
  2185.       by the active user. 
  2186.  
  2187.    5. The Tot In item identifies the total accumulative bytes received by this 
  2188.       workstation from the LAN. The graph identifies "Total In" as compared to 
  2189.       total bytes received AND sent and therefore is a percent of total I/O. 
  2190.  
  2191.    6. The Tot Out item identifies the total accumulative bytes sent by this 
  2192.       workstation to the LAN. The graph identifies "Total Out" as compared to 
  2193.       total bytes received AND sent and therefore is a percent of total I/O. 
  2194.  
  2195.    7. The Bps In item identifies "Bytes Per Second" and is the average number 
  2196.       of bytes RECEIVED via LAN over the last "n" seconds where "n" is the 
  2197.       refresh frequency as set in the "Refresh Settings" setting "Network 
  2198.       Monitors". This offers a "snapshot" view of current average per second 
  2199.       inbound activity from the network. 
  2200.  
  2201.    8. The Bps Out item identifies "Bytes Per Second" and is the average number 
  2202.       of bytes SENT via LAN over the last "n" seconds where "n" is the refresh 
  2203.       frequency as set in the "Refresh Settings" setting "Network Monitors". 
  2204.       This offers a "snapshot" view of current average per second outbound 
  2205.       activity from the network. 
  2206.  
  2207.    9. The Bss In item identifies "Bytes Since last Sample" and is the total 
  2208.       number of bytes received via LAN over the last "n" seconds where "n" is 
  2209.       the refresh frequency as set in the "Refresh Settings". 
  2210.  
  2211.   10. The Bss Out item identifies "Bytes Since last Sample" and is the average 
  2212.       number of bytes sent via LAN over the last "n" seconds where "n" is the 
  2213.       refresh frequency as set in the "Refresh Settings". 
  2214.  
  2215.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2216.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2217.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2218.  use these windows selectively and not continuously. 
  2219.  
  2220.  
  2221. ΓòÉΓòÉΓòÉ 10.6. Port Monitor ΓòÉΓòÉΓòÉ
  2222.  
  2223. The Port Monitor window provides insight and advanced control over LPT parallel 
  2224. ports on your system. 
  2225.  
  2226. This window is refreshed automatically in real-time as events occur for all 
  2227. ports. Refresh occurs when the port is opened, closed, and after every 10 
  2228. packets pass through the port device driver. 
  2229.  
  2230. Using the "Reset" menu option, you can initialize the current statistics for 
  2231. each port. This option will reset all statistics for ALL ports, but will keep 
  2232. the LPT Controls (Pass-thru and Debug) in their current settings. PM Patrol 
  2233. will retain these statistics across each invocation of PM Patrol. It is up to 
  2234. you when you want these statistics initialized. 
  2235.  
  2236. Controlled from the "Spooler" priority object within the OS/2 System Setup 
  2237. folder, printing performance can be fine tuned for print jobs that are sent 
  2238. through the OS/2 spooler. 
  2239.  
  2240. Printing can be monitored via PM Patrol's Port Monitor whether the OS/2 spooler 
  2241. is active or not. 
  2242.  
  2243.    1. The Port item identifies the LPT port. 
  2244.  
  2245.    2. The Jobs item identifies the current total number of jobs having passed 
  2246.       through the LPT port. Technically speaking, "jobs" constitutes each time 
  2247.       the port was opened for I/O. 
  2248.  
  2249.    3. The Rate item identifies the total bytes per second (BPS) that have been 
  2250.       sent and received via the LPT port. This value is very accurate, but can 
  2251.       be influenced greatly if the "Debug" option is enabled. This value 
  2252.       constitutes an average over ACTUAL time (milliseconds) that the port is 
  2253.       open. 
  2254.  
  2255.    4. The Time item identifies the average time (seconds) for print jobs. 
  2256.  
  2257.    5. The Pass item identifies the current status of the Pass-thru option. When 
  2258.       enabled, all I/O is allowed to pass through the LPT device driver. 
  2259.       Otherwise, all I/O is "eaten". This is beneficial when simulation is 
  2260.       required. 
  2261.  
  2262.    6. The Debug item identifies the current state of "Debugging". 
  2263.  
  2264.    7. The Act item identifies whether an active job currently exists on the 
  2265.       port. 
  2266.  
  2267.  Turning on the "Debug" option allows you to monitor and watch each packet sent 
  2268.  to the port via the Debug viewing window. This feature is designed to allow 
  2269.  monitoring of packets via Debug. Using the new Debug facility, individual 
  2270.  packets can be monitored providing "data scope" capability. When Debug is 
  2271.  enabled for a selected LPT port, an artificial delay (1 second) is inserted 
  2272.  between each packet sent to the port. 
  2273.  
  2274.  The "Pass-thru" option allows you to enable/disable data to be passed through 
  2275.  the port. Used primarily for testing purposes, this feature enables the 
  2276.  simulation of port activity without an actual printer be attached. 
  2277.  
  2278.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2279.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2280.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2281.  use these windows selectively and not continuously. 
  2282.  
  2283.  
  2284. ΓòÉΓòÉΓòÉ 10.7. Event Monitor ΓòÉΓòÉΓòÉ
  2285.  
  2286. The Event Monitor window allows you to view the current state of PM Patrol 
  2287. events from a "bird's eye view". 
  2288.  
  2289. The Event items reflect each of the events within PM Patrol. 
  2290.  
  2291. Active represents the current activity state of each event. A check mark will 
  2292. be displayed when the event is active. 
  2293.  
  2294. THold identifies the upper or lower Threshold limit for each event as defined 
  2295. in "Event Settings". This allows you to compare the event state and the 
  2296. threshold limit to exceed. 
  2297.  
  2298. Count identifies the number of times the event occured. This value is 
  2299. incremented each time the event threshold is exceeded the first time, but not 
  2300. upon renotification. 
  2301.  
  2302. Last State and Occurrance identifies the resource "state", date, and time when 
  2303. the event last occured. These values are updated the first time the event 
  2304. occurs and at renotification. 
  2305.  
  2306. Selecting "Reset" from the "Action" menu will allow you to initialize all event 
  2307. statistics. Event statistics are retained and accumulate across each invocation 
  2308. of PM Patrol. It is up to you when you want to reset the event statistics. 
  2309.  
  2310. This window is updated when an event occurs as well as every minute. 
  2311.  
  2312.  
  2313. ΓòÉΓòÉΓòÉ 10.8. Drives Monitor ΓòÉΓòÉΓòÉ
  2314.  
  2315. The Drives Monitor window allows you to view current drive attachments, current 
  2316. assignments (LAN), capacity, and used/free space. 
  2317.  
  2318. For network performance reasons, this window is refreshed automatically every 
  2319. minute on its own and can not be controlled from the "Refresh Settings" 
  2320. options. Use the drop-down menu option "Refresh" (under the "Action" menu) to 
  2321. manually refresh the window yourself. 
  2322.  
  2323. The "Utilization" graph displayed identifies USED space on the drive - not 
  2324. free. 
  2325.  
  2326.  
  2327. ΓòÉΓòÉΓòÉ 10.9. Status Line ΓòÉΓòÉΓòÉ
  2328.  
  2329. This section describes the monitor items that can be displayed on the main PM 
  2330. Patrol Status Line. 
  2331.  
  2332.  
  2333. ΓòÉΓòÉΓòÉ 10.9.1. Current Date ΓòÉΓòÉΓòÉ
  2334.  
  2335. Display of the current date. Selecting the "Show Julian Date" will add the 
  2336. current Julian date to this item. 
  2337.  
  2338.  
  2339. ΓòÉΓòÉΓòÉ 10.9.2. Current Time ΓòÉΓòÉΓòÉ
  2340.  
  2341. Display of the current time with the option of showing seconds as part of the 
  2342. time when "Show Seconds" is selected in the "Options" dialog. 
  2343.  
  2344.  
  2345. ΓòÉΓòÉΓòÉ 10.9.3. System Up-Time ΓòÉΓòÉΓòÉ
  2346.  
  2347. Display the total time that OS/2 has been up and running since last boot. 
  2348.  
  2349. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2350. hh:mm" representing "days", "hours", and "minutes". 
  2351.  
  2352.  
  2353. ΓòÉΓòÉΓòÉ 10.9.4. INet Connect-Time ΓòÉΓòÉΓòÉ
  2354.  
  2355. Displays the per-instance Internet Connect-Time that the workstation has been 
  2356. connected to the Internet when using a modem. 
  2357.  
  2358. Internet Connect-Time feature requires modem connection using the PPP or SLIP 
  2359. protocols of IBM's Internet Access Kit, or the In-Joy dialer available at 
  2360. http://www.belle.dk/~bj/dialer.html. 
  2361.  
  2362. The PM Patrol Status Line display for this monitor will reflect the format 
  2363. "INet: hh:mm x" representing "hours" and "minutes". The "x" is an indicator to 
  2364. inform you when your connected. A flashing arrow pointing up indicates your're 
  2365. connected. An arrow pointing down indicates your not. 
  2366.  
  2367. Used in conjunction with this feature, the "Show Total INet" option in PM 
  2368. Patrol's Options window will display the ongoing accumulative total of Internet 
  2369. Connect-Time in addition to the per-instance connect-time. 
  2370.  
  2371. This per-instance connect-time will automatically reset to zero when PM Patrol 
  2372. is stopped and then restarted, or when a new INet connection is established. PM 
  2373. Patrol stores the total INet connect-time in PM Patrol's profile. This Total 
  2374. INEt counter can only be reset manually. For manual reset, refer the Utility 
  2375. popup option ("Display" menu item) for "Reset Internet Time". 
  2376.  
  2377. The INet Connect-Time feature of PM Patrol does not apply to TCP/IP connections 
  2378. via a LAN. 
  2379.  
  2380.  
  2381. ΓòÉΓòÉΓòÉ 10.9.5. Keyboard Status ΓòÉΓòÉΓòÉ
  2382.  
  2383. The Keyboard Status displays the status of CapsLock, NumLock, and ScrollLock 
  2384. keyboard settings. 
  2385.  
  2386.  
  2387. ΓòÉΓòÉΓòÉ 10.9.6. Net User ID ΓòÉΓòÉΓòÉ
  2388.  
  2389. When logged-on to a LAN Server, the current "User ID" is displayed. This 
  2390. options requires that IBM LAN Requester network software be installed on the 
  2391. local workstation. 
  2392.  
  2393.  
  2394. ΓòÉΓòÉΓòÉ 10.9.7. Spooler Monitor ΓòÉΓòÉΓòÉ
  2395.  
  2396. This item allows you to monitor print jobs that are in print queues.  This 
  2397. includes print jobs that are Held, Printing, Canceling, and other dispositions. 
  2398. There is two types of monitoring: 
  2399.  
  2400.    1. Display total print jobs across all spooler queues. 
  2401.  
  2402.    2. Display total print jobs per spooler queue. 
  2403.  
  2404.  If you select the "Total all Print Queue" option in General Settings, then the 
  2405.  total print jobs across all queues will be shown. Otherwise, the number of 
  2406.  print jobs for each queue are shown up to a maximum of 8 queues. 
  2407.  
  2408.  The "Total all Queues" option in the "General Settings" switches between the 
  2409.  two modes identifies above. 
  2410.  
  2411.  When logged-on to a LAN Server you can monitor its remote print queues. Refer 
  2412.  to the "General Settings" section for more details. 
  2413.  
  2414.  
  2415. ΓòÉΓòÉΓòÉ 10.9.8. Process Summary ΓòÉΓòÉΓòÉ
  2416.  
  2417. This display item reveals the total current number of OS/2 processes and 
  2418. threads in the system. This includes PIDs and TIDs of any state; Blocked, 
  2419. Running, and Ready. 
  2420.  
  2421. The Process Summary items are displayed as follows; the numbers shown below are 
  2422. examples: 
  2423.  
  2424.    1. "12p" representing 14 active processes (p). 
  2425.  
  2426.    2. "63t" representing 63 active threads (t). 
  2427.  
  2428.    3. "105f" representing 105 open files (f). Open files includes all 
  2429.       executables, data files, INI files, DLLs, WPS objects, and any other type 
  2430.       of file you can think of. 
  2431.  
  2432.  
  2433. ΓòÉΓòÉΓòÉ 10.9.9. Drives On-line ΓòÉΓòÉΓòÉ
  2434.  
  2435. This item displays the current drive letters for available drives accessible 
  2436. from this computer.  Network drives are supported. 
  2437.  
  2438.  
  2439. ΓòÉΓòÉΓòÉ 10.9.10. Drive 1-6 Monitors ΓòÉΓòÉΓòÉ
  2440.  
  2441. Displays the free space (MB) for a selected drive. To select a different drive 
  2442. to monitor you may choose you one of the following methods: 
  2443.  
  2444.    1. Single click the right mouse button on the PM Patrol Status Line and then 
  2445.       select the "Drives" menu item.  Select "Monitor" to choose a drive. 
  2446.  
  2447.    2. Double click the left mouse button on the PM Patrol Status Line to get 
  2448.       the Options dialog.  Then select the "Utility" menu bar item followed by 
  2449.       the "Drives" menu option. 
  2450.  
  2451.  Selected drives will be permanently "remembered" as defaults when changed. 
  2452.  
  2453.  Selected drives will report a "?" when the drive changes "off-line".  This can 
  2454.  occur if the drive is a network drive and the user performs a LOGOFF.  Or, 
  2455.  removing a removable media type such as a floppy diskette. 
  2456.  
  2457.  By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  2458.  through H. This drive mapping can be changed to any desired combination. 
  2459.  
  2460.    1. From the PM Patrol Status Line, right-click the Status Line. 
  2461.  
  2462.    2. Select the "Drives" menu option 
  2463.  
  2464.    3. Then select the "Status Line" option. 
  2465.  
  2466.    4. This will display a menu identifying the current drive mappings assigned. 
  2467.       Select the PM Patrol drive number you wish to change. 
  2468.  
  2469.    5. A mini dialog will popup displaying current drives on-line and 
  2470.       accessible. Choose which drive to map. 
  2471.  
  2472.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  2473.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  2474.  
  2475.    7. This information is saved and remembered by PM Patrol. 
  2476.  
  2477.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  2478.  of the free space for the drive to inform you the drive is off-line. This is 
  2479.  more common when monitoring remote drives on a network. 
  2480.  
  2481.  
  2482. ΓòÉΓòÉΓòÉ 10.9.11. Battery Status ΓòÉΓòÉΓòÉ
  2483.  
  2484. This item informs the user how much battery power is remaining. 
  2485.  
  2486. The OS/2 APM facilities assume the battery to be 100% new. As the battery ages, 
  2487. the original maximum life of the battery diminishes. Especially for NICad 
  2488. batteries. PM Patrol allows you to specify a "new" maximum life. When set at 
  2489. zero, observe the PM Patrol "Bat" percentage. When your computer informs you 
  2490. the battery is dangerously low (usually several short beeps), observe the 
  2491. percentage that PM Patrol reports. This value becomes the new "zero" point. 
  2492. Select this value in the "Battery Calibration" field in the "General Settings" 
  2493. dialog. Repeat this process every 3-4 months to ensure accurate and reliable 
  2494. battery readings. 
  2495.  
  2496. Note:  This option is accessible only if APM is installed via OS/2 and the 
  2497. computer is a mobile computer capable of power management (i.e. 386sl+). 
  2498.  
  2499. When (and if) the battery status is unknown, PM Patrol displays a question mark 
  2500. in replacement of the actual percentage of power remaining. 
  2501.  
  2502.  
  2503. ΓòÉΓòÉΓòÉ 10.9.12. HPFS386 Cache Monitor ΓòÉΓòÉΓòÉ
  2504.  
  2505. PM Patrol will monitor the read/write cache hit ratio for systems running the 
  2506. 32-bit High Performance File System (HPFS386). 
  2507.  
  2508. The read/write percentages are displayed on the PM Patrol Status Line with the 
  2509. abbreviation "Crw". This abbreviation represents "Cache Read Writes", so the 
  2510. first percentage seen is Reads and the second percentage is writes. 
  2511.  
  2512. Note:  This version of PM Patrol only supports the ability to obtain Cache 
  2513. ratios from HPFS386 and not the 16-bit HPFS shipped with OS/2. PM Patrol will 
  2514. display a "?" if HPFS386 Cache Monitoring is selected but not installed/active. 
  2515.  
  2516.  
  2517. ΓòÉΓòÉΓòÉ 10.9.13. Swap Monitor ΓòÉΓòÉΓòÉ
  2518.  
  2519. This display option displays the current size of the OS/2 swapper file. If the 
  2520. "Show Percent" option for this monitor is selected, then the percent of free or 
  2521. used swap space is also displayed. When the "Invert Swap" option is selected, 
  2522. this will show used Swap. Otherwise, free and available Swap is displayed. 
  2523.  
  2524. Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  2525. Patrol's calculation of free swap space is an approximation and may not result 
  2526. in an exact calculation all the time. As compared to all PM Patrol's resource 
  2527. monitors, swap utilization is the only one that may yield approximation. For 
  2528. systems that are memory rich and therefore swap little, monitoring swap 
  2529. utilization may not be necessary. 
  2530.  
  2531.  
  2532. ΓòÉΓòÉΓòÉ 10.9.14. Virtual RAM Monitor ΓòÉΓòÉΓòÉ
  2533.  
  2534. Virtual RAM item identifies current Virtual Memory capacity available to OS/2. 
  2535. This item factors in available disk space for the drive which the OS/2 swapper 
  2536. file is located as well as swapper file size. When the "Invert Virtual RAM" 
  2537. option is selected, this will show used Virtual Memory. Otherwise, free and 
  2538. available Virtual Memory is displayed. If the "Show Percent" option for this 
  2539. monitor is selected, then the percent of free or used Virtual RAM is also 
  2540. displayed. 
  2541.  
  2542.  
  2543. ΓòÉΓòÉΓòÉ 10.9.15. Resident RAM Monitor ΓòÉΓòÉΓòÉ
  2544.  
  2545. The Resident RAM monitor allows you to see OS/2 memory which is non-swappable 
  2546. fixed memory. Typically, this will include OS/2 system memory and any memory 
  2547. allocated by processes which is marked as non-discardable memory. If the "Show 
  2548. Percent" option for this monitor is selected, then the percent of free or used 
  2549. Resident RAM is also displayed. 
  2550.  
  2551.  
  2552. ΓòÉΓòÉΓòÉ 10.9.16. Real RAM Monitor ΓòÉΓòÉΓòÉ
  2553.  
  2554. This displays the amount of free or used RAM (k). When "Show Percent" is 
  2555. selected for this monitor, the percentage of RAM is also displayed. When the 
  2556. "Invert Real RAM" option is selected, Real RAM will be reported as used Real 
  2557. RAM. Otherwise, free and available Real RAM is displayed. 
  2558.  
  2559. Optionally, you can view free or used RAM in bar-graph form by enabling the 
  2560. "RAM Graph" option in the "Quick Configure" section of the "Options" dialog. 
  2561.  
  2562. OS/2 views memory as a flat linear address space and deploys a true Virtual 
  2563. Memory Model. Because of this, calculation of Free Memory is subject to the 
  2564. following constraint. 
  2565.  
  2566. Note:  If your system hardware consists of MORE than 16MB of memory and the 
  2567. hard disk controller is a 16-bit adapter, calculation of Free Memory may not be 
  2568. accurately reported. Use a 32-bit disk controller adapter with more than 16MB 
  2569. RAM. 
  2570.  
  2571.  
  2572. ΓòÉΓòÉΓòÉ 10.9.17. CPU Monitor ΓòÉΓòÉΓòÉ
  2573.  
  2574. PM Patrol monitors the CPU utilization every second. If the "CPU Graph" has 
  2575. been enabled in the Options dialog, then a bar-graph view of CPU usage is 
  2576. displayed in addition to the percentage. 
  2577.  
  2578. Along with the current CPU load, PM Patrol also maintains a rolling average of 
  2579. CPU utilization over 1 minute. This is called the "CPU Average" in PM Patrol. 
  2580.  
  2581.  
  2582. ΓòÉΓòÉΓòÉ 10.9.18. User Defined Monitor ΓòÉΓòÉΓòÉ
  2583.  
  2584. PM Patrol provides a "user defined" monitor to be displayed at the end of the 
  2585. main Status Line and can be logged in the Logging Facility. Using the PM Patrol 
  2586. "DCFUserDefined" API within a C/C++ program, you can format a monitor buffer of 
  2587. your choice. Refer to the API description for DCFUserDefined for details. 
  2588.  
  2589.  
  2590. ΓòÉΓòÉΓòÉ 11. Utility ΓòÉΓòÉΓòÉ
  2591.  
  2592. The Utility section provides a growing number of utility items. This section 
  2593. will, along with monitor items, continue to grow in functionality. 
  2594.  
  2595. The "Utility" menu can be accessed from the PM Patrol "Options" dialog or from 
  2596. the PM Patrol Status Line and clicking the right mouse button. 
  2597.  
  2598.  
  2599. ΓòÉΓòÉΓòÉ 11.1. Logger ΓòÉΓòÉΓòÉ
  2600.  
  2601. The Logger facility provides a robust mechanism for recording all PM Patrol 
  2602. monitors to a file. Once logged, the user can "view" the logged data for 
  2603. further review. 
  2604.  
  2605. Most monitor items can be selected/deselected from being logged in the "Logger 
  2606. Settings" along with several other Logger Options such as duration, frequency, 
  2607. and location of log file(s). 
  2608.  
  2609. The log file is ASCII and able to be further manipulated using tools such as 
  2610. Rexx, AWK, and GREP. A convenient "field separator" (vertical bar=0xb3) is 
  2611. included in the log file for identifying individual fields in the log file 
  2612. record. 
  2613.  
  2614. The PM Patrol Logger is designed with special consideration for performance. 
  2615. When logging, the Logger mechanism requires very little CPU. The PM Patrol 
  2616. Logger can be used in a variety of situations: 
  2617.  
  2618.    1. Real-time and time critical logging with 1 second samples. 
  2619.  
  2620.    2. Casual logging with infrequent (1 per minute) samples 
  2621.  
  2622.  
  2623. ΓòÉΓòÉΓòÉ 11.1.1. Start/Stop ΓòÉΓòÉΓòÉ
  2624.  
  2625. The Start/Stop option start or stops the logging activity. 
  2626.  
  2627.  
  2628. ΓòÉΓòÉΓòÉ 11.1.2. View Primary Log ΓòÉΓòÉΓòÉ
  2629.  
  2630. The View Primary Log option allows you to view the contents of the information 
  2631. recently logged. The Viewer program can be defined in the "General Settings" 
  2632. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2633.  
  2634. The name and location of the primary log file is user settable. This is 
  2635. specified in the "Logger Settings" settings. 
  2636.  
  2637.  
  2638. ΓòÉΓòÉΓòÉ 11.1.3. View Backup Log ΓòÉΓòÉΓòÉ
  2639.  
  2640. The View Backup Log option allows you to view the contents of the information 
  2641. logged previously. If the "backup log" option is not enabled, this option is 
  2642. not accessible. 
  2643.  
  2644. The location of the backup log file is the same as the location for the primary 
  2645. log file as specified in the PM Patrol "Logger Settings". 
  2646.  
  2647. The name of the backup log file name is always "PMPATROL.BAK". 
  2648.  
  2649.  
  2650. ΓòÉΓòÉΓòÉ 11.1.4. Delete All Logs ΓòÉΓòÉΓòÉ
  2651.  
  2652. The Delete All Logs option allows you to delete all PM Patrol log files from 
  2653. disk (if present). This includes the primary and backup log files. 
  2654.  
  2655.  
  2656. ΓòÉΓòÉΓòÉ 11.2. Debug ΓòÉΓòÉΓòÉ
  2657.  
  2658. The Debug facility is a flexible and easy to use real-time Debugger for the 
  2659. software developer that provides debugging capabilities that are impossible for 
  2660. the source-level debugger, easier to use, and often more convenient. 
  2661.  
  2662. Debug is used by the PM Patrol Port Monitor to provide a "data scope" for 
  2663. information being passed through the printer port for LPT1-LPT3. 
  2664.  
  2665. Once logged, the user can "view" the logged data for further review. The log 
  2666. file is ASCII and able to be further manipulated using tools such as Rexx, AWK, 
  2667. and GREP. 
  2668.  
  2669.  
  2670. ΓòÉΓòÉΓòÉ 11.2.1. Start/Stop Debug ΓòÉΓòÉΓòÉ
  2671.  
  2672. The Start/Stop Debug option starts or stops the Debug Facility. 
  2673.  
  2674.  
  2675. ΓòÉΓòÉΓòÉ 11.2.2. Start/Stop Debug Log ΓòÉΓòÉΓòÉ
  2676.  
  2677. Output from the Debug facility is sent to the Debug viewing window. When 
  2678. logging is started, the output also goes to the "DBUG.LOG" file and is 
  2679. immediately viewable. 
  2680.  
  2681. When logging is stopped, the "DBUG.LOG" is closed. The next time logging is 
  2682. started, the "DBUG.LOG" file is backed-up to "DBUG.BAK" and a new "DBUG.LOG" is 
  2683. created. 
  2684.  
  2685.  
  2686. ΓòÉΓòÉΓòÉ 11.2.3. View Primary Log ΓòÉΓòÉΓòÉ
  2687.  
  2688. The View Primary Log option allows you to view the contents of the information 
  2689. recently logged. The Viewer program can be defined in the "General Settings" 
  2690. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2691.  
  2692. The name and location of the Debug log files are constant. Located in the PM 
  2693. Patrol installation directory, log files are named "DBUG.LOG" for the primary 
  2694. and "DBUG.BAK" for the backup log file. 
  2695.  
  2696.  
  2697. ΓòÉΓòÉΓòÉ 11.2.4. View Backup Log ΓòÉΓòÉΓòÉ
  2698.  
  2699. The View Backup Log option allows you to view the contents of the information 
  2700. logged previously. 
  2701.  
  2702.  
  2703. ΓòÉΓòÉΓòÉ 11.2.5. Delete Debug Logs ΓòÉΓòÉΓòÉ
  2704.  
  2705. The Delete Debug Logs option allows you to delete all Debug log files from disk 
  2706. (if present). This includes the primary and backup log files. 
  2707.  
  2708.  
  2709. ΓòÉΓòÉΓòÉ 11.3. Drives ΓòÉΓòÉΓòÉ
  2710.  
  2711. The Drives options provides the ability to switch drives that are on-line and 
  2712. you wish to monitor, format(full and fast), check and view summary information 
  2713. for a particular drive. 
  2714.  
  2715. This is accessed from the PM Patrol "Utility" menu. 
  2716.  
  2717.  
  2718. ΓòÉΓòÉΓòÉ 11.3.1. Status Line ΓòÉΓòÉΓòÉ
  2719.  
  2720. The Status Line option provides the ability to switch drives that are on-line 
  2721. that you may want to monitor on the PM Patrol Status Line. After selecting the 
  2722. drive (1 through 6) to change, the "Drives List" popup allows you to select a 
  2723. drive. 
  2724.  
  2725. After selecting a drive from the "Drive List", the drive appears on the PM 
  2726. Patrol Status Line and is remembered when PM Patrol is ended. 
  2727.  
  2728.  
  2729. ΓòÉΓòÉΓòÉ 11.3.2. Drive Map and Summary ΓòÉΓòÉΓòÉ
  2730.  
  2731. The Drive Map and Summary option provides the ability to view summary, detail, 
  2732. and directory map information for a selected drive. 
  2733.  
  2734. The Drive Summary options displays volume specifics as well as media format and 
  2735. device type. Summary level data displays a wealth of information. 
  2736.  
  2737. The Drive Map option displays a graphical view of directories, size of 
  2738. directories, and distribution of directory sizes relative to total USED space 
  2739. on the file system. 
  2740.  
  2741. The bar-graph is calculated in comparison to the LARGEST size directory found 
  2742. on the drive, while the percentage is calculated in comparison to the total 
  2743. USED space on the drive. 
  2744.  
  2745. Note:  The Drive Map "Bytes" reflects total space USED per directory and 
  2746. includes both Slack bytes and EA bytes of files in the subdirectory - not just 
  2747. the bytes comprising each file. 
  2748.  
  2749.  
  2750. ΓòÉΓòÉΓòÉ 11.4. Spooler ΓòÉΓòÉΓòÉ
  2751.  
  2752. The Spooler options support a variety of Print Spooler utilities such as: 
  2753.  
  2754.    1. Purge all print jobs in a Print Queue (Local or Remote) 
  2755.  
  2756.    2. Release all print jobs in a Print Queue (Local or Remote) 
  2757.  
  2758.    3. Hold all print jobs in a Print Queue (Local or Remote) 
  2759.  
  2760.  If logged on to a LAN Server and signed-on under the LAN Administrator ID, ALL 
  2761.  functions can be performed remotely for any LAN Server and these functions 
  2762.  will affect ALL print jobs for the specified Print Queue. Otherwise, these 
  2763.  functions will be performed for any print jobs OWNED by the current user of 
  2764.  the workstation for the specified Print Queue. 
  2765.  
  2766.  Note:  The "Purge Queue" function deletes ALL print jobs of any state (held, 
  2767.  printing, spooling, or released). 
  2768.  
  2769.  
  2770. ΓòÉΓòÉΓòÉ 11.5. Programs ΓòÉΓòÉΓòÉ
  2771.  
  2772. The Programs option provides quick access to user definable programs. Using the 
  2773. "Program Settings" dialog, you can add up to 45 of your favorite programs. 
  2774.  
  2775.  
  2776. ΓòÉΓòÉΓòÉ 11.5.1. Program Settings ΓòÉΓòÉΓòÉ
  2777.  
  2778. The "Program Settings" dialog allows you to specify: 
  2779.  
  2780.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2781.       field in order for the entry to appear on the program popup menu. 
  2782.  
  2783.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2784.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2785.       in order for the entry to appear on the program popup menu. 
  2786.  
  2787.    3. The "Parameters" field allows you to enter any program parameters that 
  2788.       may be required by the program you want to run. You can have PM Patrol 
  2789.       prompt you for parameters when you launch the program by entering a '?' 
  2790.       as the first character in the "Parameters" field. Place default 
  2791.       parameters after the '?' if desired. This will invoke a dialog box when 
  2792.       you run the program and allow you to enter new parameters. 
  2793.  
  2794.    4. The "Working Directory" informs the program launcher what the default 
  2795.       drive and directory are to be when the program is launched. 
  2796.  
  2797.  The "Resort" button allows you to sort the program list. PM Patrol will 
  2798.  automatically keep the list sorted for you. While your adding programs to the 
  2799.  list in this window, PM Patrol will NOT automatically resort the list while 
  2800.  your're working on it. Therefore, this "Resort" button gives you the option as 
  2801.  to when you want to see it resorted. When you close this window, the list is 
  2802.  automatically resorted for you. 
  2803.  
  2804.  The "Session" group allows you to further control HOW you wish to run the 
  2805.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2806.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2807.  
  2808.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2809.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2810.  
  2811.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2812.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2813.  
  2814.  The "Window" group allows you to start the program in a minimized state. 
  2815.  Additionally, you can select "Display existing window" to control the behavior 
  2816.  when you run the program again.  All programs are run in the "Foreground". 
  2817.  With this enabled, PM Patrol will only allow 1 instance of the program to run 
  2818.  and make the active instance of the program the foreground session. Otherwise, 
  2819.  a new and separate session is started. 
  2820.  
  2821.  The "Priority" group allows you advanced process control over a program's OS/2 
  2822.  priority. This includes both priority "Class" as well as the priority "Range" 
  2823.  within the Class. 
  2824.  
  2825.  Within the "Class" control, you can select 1 of 4 different classes: 
  2826.  
  2827.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2828.       should typically be used for most programs. If your're unsure of the 
  2829.       Class setting, use "Regular". 
  2830.  
  2831.    2. "Idle" class indicates that a program should only execute when nothing 
  2832.       else is running. Typically used for carefree background processes. 
  2833.  
  2834.    3. "Foreground" class indicates that a program should execute at a 
  2835.       fixed-high priority, but below time critical as if it were the "active" 
  2836.       window. Net effect of this class makes the process operate at near 
  2837.       time-critical performance. 
  2838.  
  2839.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2840.       Understand that selecting this may cause other programs running to 
  2841.       execute slower. 
  2842.  
  2843.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2844.  different Range priority levels within each Class. 
  2845.  
  2846.    1. "Regular" Range identifies the "normal" and default priority setting 
  2847.       within the Class selected. This should typically be used for most 
  2848.       programs and is the default. If you are unsure of the Range setting, use 
  2849.       "Regular". 
  2850.  
  2851.    2. "Low" Range identifies the lowest possible priority setting within the 
  2852.       Class selected. Low and Regular have identical effects. This was chosen 
  2853.       by design to avoid confusion as to what was a "normal" Range setting. 
  2854.  
  2855.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2856.       High Ranges. 
  2857.  
  2858.    4. "High" Range indicates the highest possible priority within the class 
  2859.       selected. 
  2860.  
  2861.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2862.  requirement of the process is unknown; this should be used as the default in 
  2863.  all situations. You should rarely (if ever) set the priority combination to 
  2864.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2865.  to its knees for a very CPU bound program. 
  2866.  
  2867.  Note:  Once launched, a program can change its own priority Class and Range 
  2868.  settings. This means that PM Patrol sets the program's "default" priorities 
  2869.  with those that you select, but does not control it after the program has been 
  2870.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2871.  environment will typically change the priority to "Regular" for both Class and 
  2872.  Range. 
  2873.  
  2874.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2875.  highlighted program in the "Program List". To change an existing program's 
  2876.  properties, simply select the program in the list, then change the desired 
  2877.  fields for the program. Changes are immediate. 
  2878.  
  2879.  Alternately, you can click the right mouse button while the mouse pointer is 
  2880.  positioned over the "Program List" to get a quick access popup menu to the 
  2881.  actions. 
  2882.  
  2883.  
  2884. ΓòÉΓòÉΓòÉ 11.6. Desktop ΓòÉΓòÉΓòÉ
  2885.  
  2886. The System Setup option opens the OS/2 WorkPlace Shell "System Setup" folder 
  2887. object. 
  2888.  
  2889. The System Startup option opens the OS/2 WorkPlace Shell "Startup" folder 
  2890. object. 
  2891.  
  2892. The Tools option opens the OS/2 WorkPlace Shell "Main" folder for an assortment 
  2893. of OS/2 tools. 
  2894.  
  2895. The Games option opens the OS/2 WorkPlace Shell "Games" folder for an 
  2896. assortment of OS/2 games. 
  2897.  
  2898. The Drives option opens the OS/2 WorkPlace Shell "Drives" folder for disk 
  2899. utilities. 
  2900.  
  2901. The LaunchPad option opens the OS/2 WorkPlace Shell LaunchPad object. 
  2902.  
  2903. The Minimized option opens the OS/2 WorkPlace Shell "Minimized" folder object. 
  2904.  
  2905. The Templates option opens the OS/2 WorkPlace Shell "Templates" folder object. 
  2906.  
  2907. The Information option opens the OS/2 WorkPlace Shell "Information" folder for 
  2908. an assortment of books. 
  2909.  
  2910. The Command Prompts option opens the OS/2 WorkPlace Shell "Command Prompts" 
  2911. folder for an assortment of OS/2 command windows. 
  2912.  
  2913. The Font Palette option opens this OS/2 WorkPlace Shell palette 
  2914.  
  2915. The Color Palette option opens this OS/2 WorkPlace Shell palette 
  2916.  
  2917. The Minimize Windows option minimizes all visible windows on the OS/2 desktop. 
  2918. Convenient for periodically "clearing" the desktop when too many windows are 
  2919. active. 
  2920.  
  2921. The Restart Desktop option allows you to restart your OS/2 desktop and 
  2922. optionally specify a different set of OS/2 INI files to use. This option is 
  2923. particularly useful in network environments where individuals move from 
  2924. workstation to workstation and wish to inherit their "desktop personality" on a 
  2925. different PC. The "Defaults" option is designed to facilitate the the process 
  2926. of quickly switching back to the local workstation's default INI files. The 
  2927. "Restart Desktop" is unavailable when PM Patrol is started in "Secured" mode. 
  2928.  
  2929. Note:  Be aware that on some multimedia enabled systems, restarting the OS/2 
  2930. desktop may temporarily disable multimedia (MMPM/2). 
  2931.  
  2932. The Restore Windows option restores all minimized windows in the OS/2 Task 
  2933. Window or Minimized Folder to the OS/2 desktop. 
  2934.  
  2935. The Close All Folders option quickly closes all open OS/2 desktop folders. 
  2936. Convenient for periodically "clearing" the desktop when too many windows are 
  2937. active. 
  2938.  
  2939. The PM Patrol Shutdown option is an alternate way to shutdown PM Patrol 
  2940. quickly. This option will only appear in the Utility Popup menu when invoked 
  2941. from the PM Patrol Status Line. When selected, this will shutdown PM Patrol 
  2942. quickly and without confirmation. If PM Patrol is started in "Secured Mode 
  2943. (-S)", this option is not available and will not appear in the menu. If the PM 
  2944. Patrol Password is set, then you will be prompted to enter the correct password 
  2945. before PM Patrol is shutdown. 
  2946.  
  2947. The Normal OS/2 Shutdown option is an alternate way to perform a normal OS/2 
  2948. shutdown. If the PM Patrol Password is set, then you will be prompted to enter 
  2949. the correct password before a shutdown is granted. 
  2950.  
  2951. The Forced OS/2 Shutdown option is used when the normal OS/2 shutdown procedure 
  2952. is unresponsive and will shutdown OS/2 active file systems. This should be used 
  2953. as a last resort. If the PM Patrol Password is set, then you will be prompted 
  2954. to enter the correct password before a forced shutdown is granted. 
  2955.  
  2956. Note:  This forces a proper OS/2 shutdown for all active file systems and open 
  2957. files, but does not perform a WorkPlace Shell shutdown. Any recent changes to 
  2958. the OS/2 desktop since the last normal OS/2 shutdown may not be saved. 
  2959.  
  2960.  
  2961. ΓòÉΓòÉΓòÉ 11.7. Display ΓòÉΓòÉΓòÉ
  2962.  
  2963. The Open Monitor Windows option opens and activates all PM Patrol Monitor 
  2964. windows including Process Monitor, Memory Monitor, and Network Monitor. This 
  2965. provides quick access to these popular monitor windows of PM Patrol. 
  2966.  
  2967. The Close Monitor Windows option closes all PM Patrol Monitor windows including 
  2968. Process Monitor, Memory Monitor, and Network Monitor. 
  2969.  
  2970. The Suspend Status Line option freezes the Status Line display until you Resume 
  2971. the display. 
  2972.  
  2973. The Hide Status Line option hides the Status Line display until you re-select 
  2974. it from the OS/2 Window List. While hidden, all active PM Patrol operations 
  2975. continue unless the display has been "suspended". This option is convenient for 
  2976. those who wish to temporarily view the desktop window below PM Patrol or for 
  2977. security purposes. 
  2978.  
  2979. The Refresh Status Line option immediately forces PM Patrol to re-sample and 
  2980. refresh all items being monitored on the PM Patrol main Status Line. 
  2981.  
  2982. The Reset Internet Time option allows you to reset the Internet Connect-Time to 
  2983. zero. This can be useful for tracking and costing Internet access. 
  2984.  
  2985.  
  2986. ΓòÉΓòÉΓòÉ 11.8. Utilities ΓòÉΓòÉΓòÉ
  2987.  
  2988. This menu contains several additional utilities that are always 1 click away 
  2989.  
  2990.  
  2991. ΓòÉΓòÉΓòÉ 11.8.1. Sleep Now ΓòÉΓòÉΓòÉ
  2992.  
  2993. The Sleep Now option places the mobile computer (SL chips) into suspend mode. 
  2994. This option is accessible only when APM (Advanced Power Management) is 
  2995. installed and the user is not logged-on to the LAN Server for workstations 
  2996. connected to a LAN Server network. Refer to the OS/2 Installation Guide for APM 
  2997. details. 
  2998.  
  2999.  
  3000. ΓòÉΓòÉΓòÉ 11.8.2. Fast Find ΓòÉΓòÉΓòÉ
  3001.  
  3002. The Fast Find option provides a way to find files on a particular disk drive. A 
  3003. number of search constraints are available such as finding 32-bit, open files, 
  3004. and files with a combination of attributes set (Read Only, Hidden, etc.). 
  3005.  
  3006. Enter the desired drive and file/pattern to search for. Click "Find" (or Enter] 
  3007. to begin the search. Click "Stop" to cancel the search. Select "All Drives" to 
  3008. search for files across all drives currently on-line. 
  3009.  
  3010. Note:  Refer to the "FF" command line utility also shipped with PM Patrol for 
  3011. searching and collecting files from the command line. 
  3012.  
  3013. Note:  Refer to the "FDUPS" command line utility also shipped with PM Patrol 
  3014. for searching and collecting files that are duplicate from the command line. 
  3015.  
  3016. The container control in the Fast Find window supports right-click popups for 
  3017. quick access to "Action" items and double-click selections. 
  3018.  
  3019. Double-clicking in the Fast Find window invokes "Edit", "View", or "Execute" 
  3020. options for the item selected. If the item is a multimedia WAV file, the WAV 
  3021. file is played. 
  3022.  
  3023. The "Last Write" and "Last Access" days allow you to specify a number of days 
  3024. that the file must meet or exceed (>=) for the Fast Find facility to collect. 
  3025. This is advantageous when searching for inactive files for LAN administration. 
  3026.  
  3027. Note:  The "Last Access" date is only applicable to file systems that support 
  3028. this attribute, such as HPFS. FAT does NOT support this file system attribute 
  3029. and therefore use of "Last Access" days should be avoided. 
  3030.  
  3031. The "File Size" field provides that ability to narrow the search and look for 
  3032. files where the file size meets or exceeds a given size. This size is specified 
  3033. in terms of Kilobytes (KB). For example, If your're searching for files greater 
  3034. than or equal to 512K, then enter 512. 
  3035.  
  3036. Additional search criteria allows you to narrow the search for: 
  3037.  
  3038.    1. "OS2/Win" files. These are files that are OS/2 PM and Windows files using 
  3039.       Win API calls. Files include *.DLL, *.EXE, *.SYS and more. 
  3040.  
  3041.    2. "32-Bit" files.  These are files that are 32-bit OS/2 files. Files 
  3042.       include *.EXE, *.DLL, *.SYS, and more. 
  3043.  
  3044.    3. "Opened" files.  These are files that are currently open and in use by 
  3045.       other OS/2, DOS, or Windows programs. 
  3046.  
  3047.    4. "DOS" files.  These are files that DOS only files and include *.EXE, 
  3048.       *.COM, and more. 
  3049.  
  3050.       Note:  Searching for files with the above specified attributes causes 
  3051.       overhead and should be used selectively. Searching for "Opened" files 
  3052.       causes considerable overhead and could take several minutes to complete 
  3053.       the search. 
  3054.  
  3055.  Also provided is the ability to restrict the search to finding only files with 
  3056.  particular file attributes. Such as Hidden, Read-Only, and more.  Selecting 
  3057.  these items causes a "RESTRICTIVE" search - not "INCLUSIVE". 
  3058.  
  3059.  You can customize the display items (file slack size, file EA size, last write 
  3060.  and access dates) in the "View" menu option. These settings will be saved 
  3061.  automatically when PM Patrol is shutdown. 
  3062.  
  3063.  There are several "Action" items that are provided. These include the ability 
  3064.  to "Edit", "View", and "Delete" files that are selected. To select items, 
  3065.  simply single click the item or "Select All" items in the list. Be careful of 
  3066.  the "Delete" option. It works well - even if the file is marked as read-only, 
  3067.  the files will be deleted. A popup message box is displayed to confirm your 
  3068.  "Delete" request. 
  3069.  
  3070.  The "File" and "Edit" options operate the same way as in the "Process 
  3071.  Monitor","Drives Monitor", System Info" windows, and all others. These options 
  3072.  allow you to copy/append to the clipboard, save list to a file, or print list 
  3073.  to a printer. 
  3074.  
  3075.  The Fast Find facility allows you to specify that search operations should 
  3076.  always run at a low priority - only when there is little OS/2 activity. This 
  3077.  can be specified in the "General Settings" setup and may be desirable for LAN 
  3078.  administration functions. This is identified by "Idle Time Searches". 
  3079.  
  3080.  
  3081. ΓòÉΓòÉΓòÉ 11.8.3. Fast Help ΓòÉΓòÉΓòÉ
  3082.  
  3083. The Fast Help option provides very fast access to a complete list of OS/2 
  3084. Information (.INF) and Help (.HLP), and DOS+Windows (.HLP) files that are 
  3085. on-line and available for viewing. 
  3086.  
  3087. Accessed from the PM Patrol Utility menu, the Fast Help feature creates a "Help 
  3088. Data Base" the first time it's accessed. Stored where PM Patrol is installed, 
  3089. the help data base refresh can take a minute to build. 
  3090.  
  3091. Subsequent invocations of the Fast Help window do not auto-refresh the help 
  3092. data base. It is up to you when you wish to refresh the data base. PM Patrol 
  3093. searches ALL drives on-line when refreshing the help data base. 
  3094.  
  3095. Via the "View" menu item, you can filter-out duplicate help files to make 
  3096. navigating the list a bit easier. 
  3097.  
  3098. To view a on-line help file, simply double click on the file in the list. 
  3099. DOS+Windows help files are always viewed seamlessly on the OS/2 desktop. 
  3100.  
  3101. The "Filter" options operate in the following manners: 
  3102.  
  3103.    1. The "Filter Duplicates" removes duplicate help files from the window 
  3104.       list. As a result, only unique help files are displayed. 
  3105.  
  3106.    2. The "Filter OS/2 Files" removes OS/2 specific help files (both .INF and 
  3107.       .HLP) from the window list. As a result, only DOS+Windows help files are 
  3108.       displayed. 
  3109.  
  3110.    3. The "Filter Win Files" removes DOS+Windows specific help files (.HLP) 
  3111.       from the window list. As a result, only OS/2 help files are displayed. 
  3112.  
  3113.  Note:  Limitation with OS/2 .HLP help files. Due to the nature of OS/2 .HLP 
  3114.  help files, only one of these help files can be viewed at a time through PM 
  3115.  Patrol's Fast Help facility. If another .HLP help file is selected, the 
  3116.  previous .HLP help file will be closed down. There are no limitations with 
  3117.  OS/2 .INF or DOS+Windows .HLP help files. 
  3118.  
  3119.  
  3120. ΓòÉΓòÉΓòÉ 11.8.4. System Info ΓòÉΓòÉΓòÉ
  3121.  
  3122. The System Info displays 3 basic types of information: 
  3123.  
  3124.    1. OS/2 System information displays the basic configuration of OS/2 and the 
  3125.       hardware present on your system. Many of the items are static and don't 
  3126.       change while OS/2 is operating. Many of these items are modifiable in the 
  3127.       CONFIG.SYS. Refer to OS/2 help for more detail. 
  3128.  
  3129.    2. Presentation Manager colors. These can be modified via the "Color 
  3130.       Palette" in the OS/2 "System" folder. 
  3131.  
  3132.    3. Presentation Manager information displays items specific to PM. Many of 
  3133.       these can be modified in the "Setup" folder of the WorkPlace Shell. 
  3134.  
  3135.  
  3136. ΓòÉΓòÉΓòÉ 11.8.5. Scheduler ΓòÉΓòÉΓòÉ
  3137.  
  3138. The Scheduler option provides quick access to user definable programs that are 
  3139. to be run at specified times. Using the "Scheduler Settings" dialog, you can 
  3140. add up to 128 of programs to run at specified times. 
  3141.  
  3142. Similar in function to the UNIX CRON utility, the "Scheduler" provides the 
  3143. ability to run any program at user specified days and times. 
  3144.  
  3145. The "Scheduler Settings" dialog allows you to specify: 
  3146.  
  3147.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  3148.       field in order for the entry to appear on the program popup menu. 
  3149.  
  3150.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  3151.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  3152.       in order for the entry to appear on the program popup menu. 
  3153.  
  3154.    3. The "Parameters" field allows you to enter any program parameters that 
  3155.       may be required by the program you want to run. You can have PM Patrol 
  3156.       prompt you for parameters when the scheduler launches the program by 
  3157.       entering a '?' as the first character in the "Parameters" field. Place 
  3158.       default parameters after the '?' if desired. This will invoke a dialog 
  3159.       box when the program is scheduled to run and allow you to enter new 
  3160.       parameters. 
  3161.  
  3162.    4. The "Working Directory" informs the scheduler what the default drive and 
  3163.       directory are to be when the program gets launched. 
  3164.  
  3165.  The "Resort" button allows you to sort the program list. PM Patrol will 
  3166.  automatically keep the list sorted for you. While your adding programs to the 
  3167.  list in this window, PM Patrol will NOT automatically resort the list while 
  3168.  your're working on it. Therefore, this "Resort" button gives you the option as 
  3169.  to when you want to see it resorted. When you close this window, the list is 
  3170.  automatically resorted for you. 
  3171.  
  3172.  The "Session" group allows you to further control HOW you wish to run the 
  3173.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  3174.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  3175.  
  3176.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  3177.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  3178.  
  3179.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  3180.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  3181.  
  3182.  The "Window" group allows you to start the program in a minimized state. Some 
  3183.  programs may resist the minimized state when their invoked. 
  3184.  
  3185.  The "Activate Program" option allows you to indicate that the Scheduled Entry 
  3186.  is "active" or "inactive". The program will only get launched when this is 
  3187.  selected. 
  3188.  
  3189.  The "Priority" group allows you advanced process control over a program's OS/2 
  3190.  priority. This includes both priority "Class" as well as the priority "Range" 
  3191.  within the Class. 
  3192.  
  3193.  Within the "Class" control, you can select 1 of 4 different classes: 
  3194.  
  3195.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  3196.       should typically be used for most programs. If your're unsure of the 
  3197.       Class setting, use "Regular". 
  3198.  
  3199.    2. "Idle" class indicates that a program should only execute when nothing 
  3200.       else is running. Typically used for carefree background processes. 
  3201.  
  3202.    3. "Foreground" class indicates that a program should execute at a 
  3203.       fixed-high priority, but below time critical as if it were the "active" 
  3204.       window. Net effect of this class makes the process operate at near 
  3205.       time-critical performance. 
  3206.  
  3207.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  3208.       Understand that selecting this may cause other programs running to 
  3209.       execute slower. 
  3210.  
  3211.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  3212.  different Range priority levels within each Class. 
  3213.  
  3214.    1. "Regular" Range identifies the "normal" and default priority setting 
  3215.       within the Class selected. This should typically be used for most 
  3216.       programs and is the default. If you are unsure of the Range setting, use 
  3217.       "Regular". 
  3218.  
  3219.    2. "Low" Range identifies the lowest possible priority setting within the 
  3220.       Class selected. Low and Regular have identical effects. This was chosen 
  3221.       by design to avoid confusion as to what was a "normal" Range setting. 
  3222.  
  3223.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  3224.       High Ranges. 
  3225.  
  3226.    4. "High" Range indicates the highest possible priority within the class 
  3227.       selected. 
  3228.  
  3229.  Note:  Use "Regular" for both Class and Range settings when the priority 
  3230.  requirement of the process is unknown; this should be used as the default in 
  3231.  all situations. You should rarely (if ever) set the priority combination to 
  3232.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  3233.  to its knees for a very CPU bound program. 
  3234.  
  3235.  Note:  Once launched, a program can change its own priority Class and Range 
  3236.  settings. This means that PM Patrol sets the program's "default" priorities 
  3237.  with those that you select, but does not control it after the program has been 
  3238.  launched. A good example of this is running Windows programs. The Win-OS/2 
  3239.  environment will typically change the priority to "Regular" for both Class and 
  3240.  Range. 
  3241.  
  3242.  The "Schedule" group provides you the ability to specify the time the program 
  3243.  is to be launched. All programs are launched in the "background" and NOT the 
  3244.  foreground session. 
  3245.  
  3246.  The time to launch can be specified by selecting the desired Month, Week Day, 
  3247.  Hour, and Minute.  Event time permutations are as follows: 
  3248.  
  3249.    1. Month: provides "Every" month or a specified month (January through 
  3250.       December). 
  3251.  
  3252.    2. Week Day: provides "Every" day, specified day (Sunday through Saturday), 
  3253.       weekdays (Monday through Friday), or weekends (Saturday and Sunday). 
  3254.  
  3255.    3. Hour: provides "Every" hour or a specified hour (12:00 AM through 11:00 
  3256.       PM). 
  3257.  
  3258.    4. Minute: provides "Every" minute or a specified minute (0 through 59). 
  3259.  
  3260.  The "Termination" option allows you specify a scheduled job or program to be 
  3261.  terminated after a specified duration of time (hours and minutes). When hours 
  3262.  and minutes are set to zero, the default, the program will not be terminated 
  3263.  by PM Patrol. Hours specifies the number of hours that must elapse before 
  3264.  termination. You may specify zero, or a value between 1 and 168 (1 week). Mins 
  3265.  specifies the number of minutes that must elapse before termination. You may 
  3266.  specify zero, or a value between 1 and 59.  Termination of a process is done 
  3267.  with extreem prejaduce; the program is "killed" without a graceful shutdown. 
  3268.  For some programs, this is not a problem. A DBug is generated when a process 
  3269.  is started or terminated in PM Patrol. You may use the DBug facility built 
  3270.  into PM Patrol for monitoring and logging Scheduler events. 
  3271.  
  3272.  Note:  Accuracy of when the actual termination occurs can vary by as much as 
  3273.  15 seconds and is directly depandant on the Refresh Settings for Process 
  3274.  Monitors. This varience will never be less than the scheduled termination - 
  3275.  only more. The termination settings can be adjusted after the program has been 
  3276.  launched. Be careful when adjusting the system time while Scheduled programs 
  3277.  are active which have a termination time. Be aware, adjusting the system time 
  3278.  backwards (losing time) will cause the program to terminate sooner. 
  3279.  
  3280.  Note:  The "Prcess Metering" option in PM Patrol (found in General Settings) 
  3281.  MUST be enabled for "Termination" functionality of the Scheduler. If you have 
  3282.  Scheduled programs that have a specified termination, be sure to enable the 
  3283.  Process Metering option. 
  3284.  
  3285.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  3286.  highlighted program in the "Program List". To change an existing program's 
  3287.  properties, simply select the program in the list, then change the desired 
  3288.  fields for the program. Changes are immediate. 
  3289.  
  3290.  Alternately, you can click the right mouse button while the mouse pointer is 
  3291.  positioned over the "Program List" to get a quick access popup menu to the 
  3292.  actions. 
  3293.  
  3294.  
  3295. ΓòÉΓòÉΓòÉ 11.8.6. WorkPlace Classes ΓòÉΓòÉΓòÉ
  3296.  
  3297. The WorkPlace Classes option provides quick access to all registered WorkPlace 
  3298. Shell class objects and provides the ability to register new classes or 
  3299. deregister classes no longer needed. 
  3300.  
  3301. Note:  Typically used by developers, this facility should be used with caution. 
  3302. DO NOT deregister classes without careful consideration. Deleting some classes 
  3303. may render your OS/2 WorkPlace shell inoperable. 
  3304.  
  3305. The "Class Name" represents the object class name as registered and known by 
  3306. the OS/2 WorkPlace Shell. 
  3307.  
  3308. The "Module Name" represents the DLL or SOM library which contains the object 
  3309. methods associated with the class. 
  3310.  
  3311. To deregister a class, simply highlight the class name from the list and select 
  3312. the "Deregister Class" option in the "Action" menu. 
  3313.  
  3314. Likewise, to register a new class to the WorkPlace shell, select "Register 
  3315. Class" from this same menu. Enter the new class name and library module. The 
  3316. Library module must be a fully qualified drive, path, and file name of the DLL. 
  3317.  
  3318.  
  3319. ΓòÉΓòÉΓòÉ 11.8.7. Fast Format ΓòÉΓòÉΓòÉ
  3320.  
  3321. Fast Format performs a very fast format for diskettes (drives A or B) that are 
  3322. ALREADY formatted. This is much faster, and easier, than manually deleting 
  3323. files off a diskette or reformatting. You'll be surprised how often this proves 
  3324. useful.  This option will work on all diskette types (720KB, 1.44MB, and 
  3325. 2.88MB). 
  3326.  
  3327. In order to support all current and future read/writable media types (and 
  3328. extended attributes), PM Patrol employs a Fast Format method that is affected 
  3329. by the number of preexisting files on the disk media. The more files on the 
  3330. disk, the longer it may take to complete the Fast format. The Fast Format 
  3331. operation usually takes several seconds. Since the Fast Format allows 
  3332. concurrent access to the disk while formatting, files or directories that are 
  3333. open will not be removed. 
  3334.  
  3335. Only logical drives A and B are currently supported. 
  3336.  
  3337. Fast Format also allows you to specify a new volume label name. 
  3338.  
  3339.  
  3340. ΓòÉΓòÉΓòÉ 11.9. Command Line Utilities ΓòÉΓòÉΓòÉ
  3341.  
  3342. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  3343. utilities complement the PM Patrol personality. 
  3344.  
  3345.  
  3346. ΓòÉΓòÉΓòÉ 11.9.1. FF (Find Files) ΓòÉΓòÉΓòÉ
  3347.  
  3348. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3349. option was selected at PM Patrol installation, then this utility is installed 
  3350. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3351. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3352. of the PATH statement. 
  3353.  
  3354. It provides the same functionality and features as the "Fast Find" facility of 
  3355. PM Patrol. FF enables you to search for files across multiple drives regardless 
  3356. of the number of files. Like the "Fast Find", FF is a turbo charged "find 
  3357. files" utility. 
  3358.  
  3359. The syntax for "FF" is: 
  3360.  
  3361. FF filespec [/R /H /S /A /D /O /E /LN /SN /AD /LA /LW /SK]
  3362.     /R   read only attr
  3363.     /H   hidden attr
  3364.     /S   system attr
  3365.     /A   archive attr
  3366.     /D   directory attr
  3367.     /O   open files
  3368.     /E   erase files
  3369.     /LN  long file names
  3370.     /SN  short file names
  3371.     /AD  all drives
  3372.     /LAn  n days since access
  3373.     /LWn  n days since write
  3374.     /SKn  >= n Kbytes in size
  3375.     ?   help
  3376.  
  3377. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3378. File Pattern is "*" for all files. 
  3379.  
  3380.  
  3381. ΓòÉΓòÉΓòÉ 11.9.2. FDUPS (Find Duplicates) ΓòÉΓòÉΓòÉ
  3382.  
  3383. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3384. option was selected at PM Patrol installation, then this utility is installed 
  3385. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3386. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3387. of the PATH statement. 
  3388.  
  3389. The "FDUPS" utility finds duplicate files by comparing the file name, size 
  3390. and/or last write date.  Between these options, you expect a very high 
  3391. confidence level that 1 or more files are duplicates. 
  3392.  
  3393. The "FDUPS" utility takes several minutes to run depending on the number of 
  3394. files on the disk drive being searched. Select the /i option to make FDUPS run 
  3395. at idle time - when there is little OS/2 activity. 
  3396.  
  3397. The syntax for "FDUPS" is: 
  3398.  
  3399. FDUPS filespec [/S, /D, /A, /I]
  3400.     /S   include size comparison
  3401.     /D   include date comparison
  3402.     /A   search all drives
  3403.     /I   run at idle time
  3404.     ?   help
  3405.  
  3406. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3407. File Pattern is "*" for all files. 
  3408.  
  3409.  
  3410. ΓòÉΓòÉΓòÉ 11.9.3. FDUMP (File Dump) ΓòÉΓòÉΓòÉ
  3411.  
  3412. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3413. option was selected at PM Patrol installation, then this utility is installed 
  3414. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3415. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3416. of the PATH statement. 
  3417.  
  3418. The "FDUMP" utility will dump the contents of any file displaying the ASCII and 
  3419. HEX representation of each byte in the file. 
  3420.  
  3421. This utility provides the ability to specify the format of the output in either 
  3422. a vertical or horizontal fashion. Furthermore, where binary files have specific 
  3423. record lengths, FDUMP allows you to specify this as well. 
  3424.  
  3425. The output from FDUMP is displayed on the screen but can be redirected using 
  3426. the ">outfile" parameter. 
  3427.  
  3428. The syntax for "FDUMP" is: 
  3429.  
  3430. FDUMP filespec [/R=] [/H|/V]
  3431.  
  3432. "filespec" represents a file name to examine. This must be specified. 
  3433.  
  3434. "/R=nn" tells FDUMP to dump the contents of the file using nn record length. 
  3435.  
  3436. "/H" tells FDUMP to dump the contents of the file in horizontal mode. This is 
  3437. the default used by FDUMP. 
  3438.  
  3439. "/V" tells FDUMP to dump the contents of the file in vertical mode. 
  3440.  
  3441.  
  3442. ΓòÉΓòÉΓòÉ 11.9.4. PIDKILL (Kill OS/2 Process) ΓòÉΓòÉΓòÉ
  3443.  
  3444. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3445. option was selected at PM Patrol installation, then this utility is installed 
  3446. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3447. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3448. of the PATH statement. 
  3449.  
  3450. The "PIDKILL" utility allows you to terminate (UNIX-kill 9) a OS/2 program and 
  3451. all its threads. 
  3452.  
  3453. "PIDKILL" takes 1 parameter: the PID to kill. This PID value can be identified 
  3454. by using the PM Patrol Process Monitor window or using the OS/2 "PSTAT" command 
  3455. line utility shipped with OS/2. 
  3456.  
  3457. Note:  A PID that is "blocked" (waiting on another OS/2 resource) may not 
  3458. always be able to be "killed". Repeat attempts may be necessary. 
  3459.  
  3460. The syntax for "PIDKILL" is: 
  3461.  
  3462. PIDKILL pid
  3463.  
  3464. "pid" represents a HEX value as identified in the PM Patrol Monitor window or 
  3465. the OS/2 command line utility "PSTAT". 
  3466.  
  3467. Note:  Recall that the PM Patrol Process Monitor window also allows you to 
  3468. "Kill" PIDs. 
  3469.  
  3470.  
  3471. ΓòÉΓòÉΓòÉ 11.9.5. QMGMT (Queue Management) ΓòÉΓòÉΓòÉ
  3472.  
  3473. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3474. option was selected at PM Patrol installation, then this utility is installed 
  3475. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3476. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3477. of the PATH statement. 
  3478.  
  3479. The "QMGMT" utility allows you to perform various Print Spooler Queue 
  3480. management functions similar to Print Spooler functions available in the PM 
  3481. Patrol program. 
  3482.  
  3483. These functions include purging, releasing, holding, and deleting 1 or more 
  3484. spooler queues. 
  3485.  
  3486. The syntax for "QMGMT" is: 
  3487.  
  3488. QMGMT qname [options]
  3489.  
  3490. "qname" represents the queue to act upon. Enter a queue name or default to ALL 
  3491. queues. 
  3492.  
  3493. "options" represents 1 of the actions to perform on the print queue. By 
  3494. default, QMGMT will report summary information (/I) and status of the queue(s). 
  3495.  
  3496.  
  3497. ΓòÉΓòÉΓòÉ 11.9.6. PMPSDOWN (PM Patrol Shut Down) ΓòÉΓòÉΓòÉ
  3498.  
  3499. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3500. option was selected at PM Patrol installation, then this utility is installed 
  3501. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3502. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3503. of the PATH statement. 
  3504.  
  3505. The "PMPSDown" utility allows you to shut down PM Patrol and optionally specify 
  3506. how long (in seconds) to wait before the shutdown occurs. This utility returns 
  3507. 0 is successful, and 1 if not (ie. PMP was not active at the time). 
  3508.  
  3509. If no delay is specified, PM Patrol will be shutdown immediately. 
  3510.  
  3511. The syntax for "PMPSDown" is: 
  3512.  
  3513. PMPSDown [seconds]
  3514.  
  3515.  
  3516. ΓòÉΓòÉΓòÉ 11.9.7. MSGBOX (Message Box Popup) ΓòÉΓòÉΓòÉ
  3517.  
  3518. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3519. option was selected at PM Patrol installation, then this utility is installed 
  3520. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3521. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3522. of the PATH statement. 
  3523.  
  3524. The "MsgBox" utility allows you to popup of message box with text and buttons 
  3525. of your choice. Ideal for the PM Patrol Scheduler. 
  3526.  
  3527. The syntax for "MsgBox" is: 
  3528.  
  3529. MsgBox text [/A /Tt /Dn /Bn]
  3530.  
  3531.  text  Any text of your choice (up to 1K in length)
  3532.  /A   Sound alarm
  3533.  /Tt  Title where t=text
  3534.  /Dn  Timeout delay (milliseconds)
  3535.  /Bn  Button types, where n=
  3536.      1=Ok        6=Retry,Cancel
  3537.      2=Ok,Cancel     7=Abort,Retry,Ignore
  3538.      3=Cancel      8=Yes,No
  3539.      4=Enter       9=Yes,No,Cancel
  3540.      5=Enter,Cancel
  3541.  
  3542.  Return Codes:
  3543.      1=OK selected    5=Ignore selected
  3544.      2=Cancel selected  6=Yes selected
  3545.      3=Abort selected  7=No selected
  3546.      4=Retry selected  9=Enter selected
  3547.  
  3548.  
  3549. ΓòÉΓòÉΓòÉ 11.9.8. PMPREG (PM Patrol Registration) ΓòÉΓòÉΓòÉ
  3550.  
  3551. This utility is accessed from the OS/2 command prompt window and is installed 
  3552. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3553. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3554. of the PATH statement. 
  3555.  
  3556. The "PMPReg" utility is provided with PM Patrol to allow command-line 
  3557. registration of the product and is useful under situations which require setup 
  3558. or configuration of PM Patrol for pre-loads, batch, and/or remote setup. 
  3559.  
  3560. There are no command-line options for this tool. PMPReg will simply ask for 
  3561. your name and serial number and complete the registration process. For batch 
  3562. situations, this tool returns 0 upon success or 1 otherwise. All output is send 
  3563. to stdout. 
  3564.  
  3565.  
  3566. ΓòÉΓòÉΓòÉ 12. Data Collection Facility ΓòÉΓòÉΓòÉ
  3567.  
  3568. This section discusses the Data Collection Facility (DCF) of PM Patrol. 
  3569.  
  3570.  
  3571. ΓòÉΓòÉΓòÉ 12.1. DCF Definition ΓòÉΓòÉΓòÉ
  3572.  
  3573. The Data Collection Facility (DCF) of PM Patrol is a high performance data 
  3574. acquisition and statistics collecting engine. This engine is one of the 
  3575. by-products of PM Patrol and used by PM Patrol itself. 
  3576.  
  3577. Available to PM Patrol users is a simple API set allowing the C/C++ programmer 
  3578. access to this statistical data. 
  3579.  
  3580. The engine is ALWAYS gathering statistics regardless of what monitor items have 
  3581. been selected for the PM Patrol Status Line display window. These include all 
  3582. monitor items possible in PM Patrol along with others that are not monitorable 
  3583. by the PM Patrol Status Line. 
  3584.  
  3585. The DCF engine causes no extra overhead as it is a integral component of PM 
  3586. Patrol. API interface calls to the DCF engine are extremely fast. Memory to 
  3587. hold the statistics is always resident because PM Patrol is constantly updating 
  3588. it. 
  3589.  
  3590.  
  3591. ΓòÉΓòÉΓòÉ 12.2. DCF Programming Files ΓòÉΓòÉΓòÉ
  3592.  
  3593. The PM Patrol software contains 3 files for DCF programming purposes: 
  3594.  
  3595.    1. PMPAPI.H is a C/C++ header containing all constants, definitions, 
  3596.       structures, and the like. "Include" this header file in your C/C++ 
  3597.       programs. 
  3598.  
  3599.    2. PMPAPI.LIB is the Import Library to link with to resolve DCF APIs. You 
  3600.       must link (LINK386) with this Import Library to resolve external 
  3601.       references and is specified in the LINK386 options. 
  3602.  
  3603.    3. PMPAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3604.       APIs 
  3605.  
  3606.  For compiling and linking, append the installation path used for PM Patrol to 
  3607.  the following statements in your CONFIG.SYS file: 
  3608.  
  3609.    1. "LIB" statement for the API import library (PMPAPI.LIB). 
  3610.  
  3611.    2. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  3612.  
  3613.  Make sure the PM Patrol DLL is available at run time by appending the 
  3614.  installation path used for PM Patrol to the following statements in your 
  3615.  CONFIG.SYS file: 
  3616.  
  3617.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  3618.  
  3619.  
  3620. ΓòÉΓòÉΓòÉ 12.3. DCF API Set ΓòÉΓòÉΓòÉ
  3621.  
  3622. This section describes in detail the API set for interfacing with PM Patrol 
  3623. Data Collection Facility. 
  3624.  
  3625.  
  3626. ΓòÉΓòÉΓòÉ 12.3.1. DCFGetStats() API ΓòÉΓòÉΓòÉ
  3627.  
  3628. This API provides the ability to retrieve the PM Patrol real-time statistics. 
  3629. These statistics are maintained in a shared memory segment and retrieval with 
  3630. DCFGetStats() is therefore VERY fast. However, it is highly recommended that 
  3631. this API be called no more frequently that once per second. Since PM Patrol 
  3632. updates this structure at most once per second, calling this API more 
  3633. frequently than PM Patrol updates it would be useless and waste CPU. 
  3634.  
  3635. Prototype: APIRC DCFGetStats (PDCFSTATS pDCFStats)
  3636.  
  3637. Parms:   PDCFSTATS      ... Address of DCFSTATS structure
  3638.  
  3639. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3640.       DCF_PARM_ERROR   ... Invalid parm specified
  3641.       DCF_INACTIVE_ERROR ... DCF not active
  3642.  
  3643. Notes:   Statistics are updated at frequencies defined in the PM Patrol
  3644.       "Refresh Settings" dialog under "Settings" options.
  3645.       Refer to PMPAPI.H for statistical items collected by DCF.
  3646.  
  3647. Example:  Query current statistics and display drives on-line
  3648. _________________________________________________________________________
  3649. #include <stdio.h>
  3650. #include <stdlib.h>
  3651. #include <pmpapi.h>
  3652.  
  3653. INT main(INT argc, CHAR **argv)
  3654. {
  3655.  APIRC    rc;      /* API return code          */
  3656.  PDCFSTATS  pDCFStats;  /* pointer to DCF statistics buffer */
  3657.  
  3658.  /* allocate memory for statistics buffer */
  3659.  pDCFStats=(PDCFSTATS) malloc(sizeof(DCFSTATS));
  3660.  
  3661.  /* retrieve current statistics */
  3662.  rc=DCFGetStats(pDCFStats);
  3663.  if (rc==DCF_NO_ERROR)
  3664.   printf("Drives On-line: %s\n", pDCFStats->drivesOnLine);
  3665.  else
  3666.   printf("PM Patrol DCF not active right now.\n");
  3667.  
  3668.  /* exit program with return code */
  3669.  return rc;
  3670. }
  3671.  
  3672.  
  3673. ΓòÉΓòÉΓòÉ 12.3.2. DCFUserDefined() API ΓòÉΓòÉΓòÉ
  3674.  
  3675. This API provides the ability to post a user defined monitor to PM Patrol for 
  3676. display on the Status Line. It is highly recommended that this API call be 
  3677. issued no frequently that once per second. The maximum length of the buffer is 
  3678. 20 bytes. PM Patrol will force this if the length exceeds this limit. 
  3679.  
  3680. Prototype: APIRC DCFUSerDefined (PCHAR buffer)
  3681.  
  3682. Parms:   PCHAR        ... Address of user defined monitor buffer
  3683.  
  3684. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3685.       DCF_PARM_ERROR   ... Invalid parm specified
  3686.       DCF_INACTIVE_ERROR ... DCF not active
  3687.  
  3688. Example:  Tell PM Patrol to display your name on the Status Line
  3689. _________________________________________________________________________
  3690. #include <stdio.h>
  3691. #include <stdlib.h>
  3692. #include <pmpapi.h>
  3693.  
  3694. INT main(INT argc, CHAR **argv)
  3695. {
  3696.  APIRC  rc;  /* API return code  */
  3697.  
  3698.  /* post monitor buffer to PM Patrol */
  3699.  rc=DCFUserDefined("My name is Dave");
  3700.  if (rc==DCF_NO_ERROR)
  3701.   printf("PMP will show my name on the Status Line\n");
  3702.  else
  3703.   printf("PM Patrol DCF not active right now.\n");
  3704.  
  3705.  /* exit program with return code */
  3706.  return rc;
  3707. }
  3708.  
  3709.  
  3710. ΓòÉΓòÉΓòÉ 12.3.3. DCFVerify() API ΓòÉΓòÉΓòÉ
  3711.  
  3712. This API provides the ability to verify the active state of PM Patrol's Data 
  3713. Collection Facility. 
  3714.  
  3715. Prototype: BOOL DCFVerify (void)
  3716.  
  3717. Parms:   None
  3718.  
  3719. Returns:  TRUE  ... DCF active
  3720.       FALSE ... DCF not active
  3721.  
  3722. Example:  Print status of the DCF
  3723. _________________________________________________________________________
  3724. #include <stdio.h>
  3725. #include <stdlib.h>
  3726. #include <pmpapi.h>
  3727.  
  3728. INT main(INT argc, CHAR **argv)
  3729. {
  3730.  BOOL  activeInd;    /* active indicator */
  3731.  
  3732.  /* verify state */
  3733.  activeInd=DCFVerify();
  3734.  if (activeInd==TRUE)
  3735.   printf("PM Patrol DCF is active\n");
  3736.  else
  3737.   printf("PM Patrol DCF is not active\n");
  3738.  
  3739.  /* exit program with active status */
  3740.  return (INT) activeInd;
  3741. }
  3742.  
  3743.  
  3744. ΓòÉΓòÉΓòÉ 12.3.4. PMPShutDown() API ΓòÉΓòÉΓòÉ
  3745.  
  3746. This API will completely shutdown PM Patrol and the Data Collection Facility. 
  3747.  
  3748. Prototype: BOOL PMPShutDown (void)
  3749.  
  3750. Parms:   None
  3751.  
  3752. Returns:  TRUE  ... Successful with no errors
  3753.       FALSE ... PM Patrol not active
  3754.  
  3755. Example:  Shutdown PM Patrol
  3756. _________________________________________________________________________
  3757. #include <stdio.h>
  3758. #include <stdlib.h>
  3759. #include <pmpapi.h>
  3760.  
  3761. INT main(INT argc, CHAR **argv)
  3762. {
  3763.  BOOL  shutdownInd;
  3764.  
  3765.  /* shutdown and print message */
  3766.  shutdownInd=PMPShutDown();
  3767.  if (shutdownInd==TRUE)
  3768.   printf("PM Patrol and DCF now shutdown.\n");
  3769.  else
  3770.   printf("PM Patrol not active.\n");
  3771.  
  3772.  /* exit program with shutdown status */
  3773.  return (INT) shutdownInd;
  3774. }
  3775.  
  3776.  
  3777. ΓòÉΓòÉΓòÉ 13. Debug Facility ΓòÉΓòÉΓòÉ
  3778.  
  3779. This section discusses the Debug Facility integrated with PM Patrol. 
  3780.  
  3781.  
  3782. ΓòÉΓòÉΓòÉ 13.1. DBug Definition ΓòÉΓòÉΓòÉ
  3783.  
  3784. DBug is a flexible and easy to use real-time debugging for the software 
  3785. engineer/developer that provides debugging capabilities that are impossible for 
  3786. the source-level debugger, easier to use, and often more convenient. 
  3787.  
  3788. The concept of DBug is simple. You place 1 or more "DBUG" statements in your 
  3789. program source code at a strategic point for the purpose of displaying a 
  3790. message, the content of variables or memory, or time stamping a point of entry. 
  3791. Compile and run your program(s). While or after running your program(s), you 
  3792. can view the current results via the "DBug" window or view the DBug log file to 
  3793. browse your DBug results. 
  3794.  
  3795.  
  3796. ΓòÉΓòÉΓòÉ 13.2. Using DBug ΓòÉΓòÉΓòÉ
  3797.  
  3798. When you compile your programs you include the C/C++ header file "dbug.h" and 
  3799. specify the compiler directive "-DDEBUG". You must link your program with the 
  3800. DBug Import Library "DBUGAPI.LIB" to resolve externs. 
  3801.  
  3802. Once you're done testing and want to remove the DBUG statements for 
  3803. "production" use, you may: 
  3804.  
  3805.    1. Recompile your program(s) WITHOUT specifying the compiler directive 
  3806.       "-DDEBUG". The compiler will ignore the DBUG statements. Linking with 
  3807.       "DBUGAPI.LIB" is now unnecessary. 
  3808.  
  3809.    2. Manually remove each DBUG statement. Recompile and link. 
  3810.  
  3811.       Our recommendation is that you leave the "dbug.h" include file in the 
  3812.       program(s) and choose option 1 above. This allows you to, with just a 
  3813.       recompile, have your run-time debugging enabled quickly for testing. 
  3814.  
  3815.  DBUG statements are C/C++ macros which map to a single API. There is a 
  3816.  "generic" DBUG macro for any use, and specific macros for each unique standard 
  3817.  C data type: 
  3818.  
  3819.    1. The DBUG macro is generic and allows you to display the contents from any 
  3820.       data type as well as any chunk of memory. 
  3821.  
  3822.    2. The DBUGM macro displays a simple message of your choice. 
  3823.  
  3824.    3. The DBUGS macro displays the contents of a SHORT data type. 
  3825.  
  3826.    4. The DBUGL macro displays the contents of a LONG data type. 
  3827.  
  3828.    5. The DBUGI macro displays the contents of a INTEGER data type. 
  3829.  
  3830.    6. The DBUGD macro displays the contents of a DOUBLE data type. 
  3831.  
  3832.    7. The DBUGC macro displays the contents of a CHAR data type. 
  3833.  
  3834.    8. The DBUGZ macro displays the contents of a STRING data type. 
  3835.  
  3836.    9. The DBUGP macro displays the contents of a POINTER data type. 
  3837.  
  3838.   10. The DBUGOPEN macro opens a new DBug log file. 
  3839.  
  3840.   11. The DBUGCLOSE macro closes the DBug log file. 
  3841.  
  3842.   12. The DBUGSTOP macro terminates the DBug facility. 
  3843.  
  3844.  Each DBUG statement will cause an IPC message to be build and sent to the 
  3845.  central DBug program. The DBug program will then display the message in his 
  3846.  standard format and log it for later recall - if logging is turned on. 
  3847.  
  3848.  If the DBug program is not presently running to receive these requests, your 
  3849.  DBUG statements will be ignored at run-time. The effort required to complete a 
  3850.  single DBUG within your program(s) is very minimal and insignificant. 
  3851.  
  3852.  The DBug program can be started and stopped at any time - even when programs 
  3853.  are actively DBUGing. If restarted, DBug will continue pulling DBUGs from his 
  3854.  queue and displaying/logging them. 
  3855.  
  3856.  DBug will handle bursts of DBUGs easily as it offers a 256K maximum buffer. 
  3857.  DBug will only allocate/commit enough memory to hold each DBUG request - not 
  3858.  the whole 256K. The 256K buffer is therefore used optimally and requires 
  3859.  little real memory from OS/2. 
  3860.  
  3861.  When monitoring DBug, minimize the window if large amounts of DBUGs are be 
  3862.  displayed. This will significantly improve how fast DBug displays and reduce 
  3863.  the overhead of displaying results. 
  3864.  
  3865.  DBug has two log files and are created in the drive/directory where DBug was 
  3866.  started. If started and controlled from PM Patrol, these log files will reside 
  3867.  in the directory from where PM Patrol was installed and started. 
  3868.  
  3869.    1. The primary and active log "DBUG.LOG" contains current data. 
  3870.  
  3871.    2. The backup log "DBUG.BAK" contains the previous primary data after a new 
  3872.       log file is opened. 
  3873.  
  3874.       When logging is opened, a DBUG message is placed at the beginning of the 
  3875.       DBug log file. 
  3876.  
  3877.       Note:  DBug log files are automatically recycled at midnight so that 
  3878.       under continuous operation, each log will contain a full 24 hours of 
  3879.       information. Therefore, up to 2 days (primary and backup) of DBug 
  3880.       information can be reviewed any time. 
  3881.  
  3882.  If Dbug has nothing to do, absolutely no CPU is used. The small amount of DBug 
  3883.  memory requirements are "swappable" to make room for more active demanding 
  3884.  programs. 
  3885.  
  3886.  DBug is a high performance debugging tool for even the most intense 
  3887.  environments. When the Dbug window is minimized or DBug is running in "Quiet" 
  3888.  mode, DBug can handle several hundred DBUGs per second, even more for highend 
  3889.  Pentium or PowerPC processors. 
  3890.  
  3891.  
  3892. ΓòÉΓòÉΓòÉ 13.3. DBug Programming Files ΓòÉΓòÉΓòÉ
  3893.  
  3894. The DBug software contains 3 files for DBug programming purposes: 
  3895.  
  3896.    1. DBUG.H is a C/C++ header containing the macros for DBug. "Include" this 
  3897.       header file in your C/C++ programs. 
  3898.  
  3899.    2. DBUGAPI.LIB is the Import Library to link with to resolve DBUG APIs. You 
  3900.       must link (LINK386) with this Import Library to resolve external 
  3901.       references and is specified in the LINK386 options. 
  3902.  
  3903.    3. DBUGAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3904.       APIs 
  3905.  
  3906.  For compiling and linking, append the installation path used for PM Patrol to 
  3907.  the following statements in your CONFIG.SYS file: 
  3908.  
  3909.    1. "LIB" statement for the API import library (DBUGAPI.LIB). 
  3910.  
  3911.    2. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  3912.  
  3913.  Make sure the DBug DLL is available at run time by appending the installation 
  3914.  path used for PM Patrol to the following statements in your CONFIG.SYS file: 
  3915.  
  3916.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  3917.  
  3918.  
  3919. ΓòÉΓòÉΓòÉ 13.4. DBug Macro Set ΓòÉΓòÉΓòÉ
  3920.  
  3921. This section describes in detail the C/C++ macro set for using the Debug 
  3922. Facility. 
  3923.  
  3924.  
  3925. ΓòÉΓòÉΓòÉ 13.4.1. DBUG() Macro ΓòÉΓòÉΓòÉ
  3926.  
  3927. The DBUG macro is generic and allows you to display the contents from any data 
  3928. type as well as any chunk of memory. 
  3929.  
  3930. Prototype: ULONG  DBUG (PVOID address, USHORT size, PCHAR note)
  3931.  
  3932. Parms:   address       ... Address to displayed/dumped
  3933.       size        ... Size of data type or memory to be display
  3934.       note        ... A personal description of your choice
  3935.  
  3936. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3937.  
  3938. Example:
  3939. _________________________________________________________________________
  3940. #include <stdio.h>
  3941. #include <stdlib.h>
  3942. #include <dbug.h>
  3943.  ...
  3944.  
  3945.  CHAR  array[60];
  3946.  
  3947.  DBUG(array, sizeof(array), "my array");
  3948.  
  3949.  
  3950. ΓòÉΓòÉΓòÉ 13.4.2. DBUGM() Macro ΓòÉΓòÉΓòÉ
  3951.  
  3952. The DBUGM macro displays a simple message of your choice. 
  3953.  
  3954. Prototype: ULONG  DBUGM(PCHAR message)
  3955.  
  3956. Parms:   message       ... A personal description of your choice
  3957.  
  3958. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3959.  
  3960. Example:
  3961. _________________________________________________________________________
  3962. #include <stdio.h>
  3963. #include <stdlib.h>
  3964. #include <dbug.h>
  3965.  ...
  3966.  
  3967.  DBUGM("Point 1 of program");
  3968.  
  3969.  
  3970. ΓòÉΓòÉΓòÉ 13.4.3. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3971.  
  3972. The DBUGS macro displays the contents of a SHORT data type. 
  3973.  
  3974. Prototype: ULONG  DBUGS(PSHORT address, PCHAR note)
  3975.  
  3976. Parms:   address       ... Address of short to be displayed
  3977.       note        ... A personal description of your choice
  3978.  
  3979. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3980.  
  3981. Example:
  3982. _________________________________________________________________________
  3983. #include <stdio.h>
  3984. #include <stdlib.h>
  3985. #include <dbug.h>
  3986.  ...
  3987.  
  3988.  USHORT  variable;
  3989.  
  3990.  DBUGS(&variable, "my variable");
  3991.  
  3992.  
  3993. ΓòÉΓòÉΓòÉ 13.4.4. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3994.  
  3995. The DBUGL macro displays the contents of a LONG data type. 
  3996.  
  3997. Prototype: ULONG  DBUGL(PLONG address, PCHAR note)
  3998.  
  3999. Parms:   address       ... Address of long to be displayed
  4000.       note        ... A personal description of your choice
  4001.  
  4002. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4003.  
  4004. Example:
  4005. _________________________________________________________________________
  4006. #include <stdio.h>
  4007. #include <stdlib.h>
  4008. #include <dbug.h>
  4009.  ...
  4010.  
  4011.  LONG  variable;
  4012.  
  4013.  DBUGL(&variable, "my variable");
  4014.  
  4015.  
  4016. ΓòÉΓòÉΓòÉ 13.4.5. DBUGI() Macro ΓòÉΓòÉΓòÉ
  4017.  
  4018. The DBUGI macro displays the contents of a INTEGER data type. 
  4019.  
  4020. Prototype: ULONG  DBUGI(PINT address, PCHAR note)
  4021.  
  4022. Parms:   address       ... Address of integer to be displayed
  4023.       note        ... A personal description of your choice
  4024.  
  4025. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4026.  
  4027. Example:
  4028. _________________________________________________________________________
  4029. #include <stdio.h>
  4030. #include <stdlib.h>
  4031. #include <dbug.h>
  4032.  ...
  4033.  
  4034.  INT   variable;
  4035.  
  4036.  DBUGI(&variable, "my variable");
  4037.  
  4038.  
  4039. ΓòÉΓòÉΓòÉ 13.4.6. DBUGD() Macro ΓòÉΓòÉΓòÉ
  4040.  
  4041. The DBUGD macro displays the contents of a DOUBLE data type. 
  4042.  
  4043. Prototype: ULONG  DBUGD(PDOUBLE address, PCHAR note)
  4044.  
  4045. Parms:   address       ... Address of double to be displayed
  4046.       note        ... A personal description of your choice
  4047.  
  4048. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4049.  
  4050. Example:
  4051. _________________________________________________________________________
  4052. #include <stdio.h>
  4053. #include <stdlib.h>
  4054. #include <dbug.h>
  4055.  ...
  4056.  
  4057.  DOUBLE  variable;
  4058.  
  4059.  DBUGD(&variable, "my variable");
  4060.  
  4061.  
  4062. ΓòÉΓòÉΓòÉ 13.4.7. DBUGC() Macro ΓòÉΓòÉΓòÉ
  4063.  
  4064. The DBUGC macro displays the contents of a CHAR data type. 
  4065.  
  4066. Prototype: ULONG  DBUGC(PINT address, PCHAR note)
  4067.  
  4068. Parms:   address       ... Address of char to be displayed
  4069.       note        ... A personal description of your choice
  4070.  
  4071. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4072.  
  4073. Example:
  4074. _________________________________________________________________________
  4075. #include <stdio.h>
  4076. #include <stdlib.h>
  4077. #include <dbug.h>
  4078.  ...
  4079.  
  4080.  CHAR   variable;
  4081.  
  4082.  DBUGC(&variable, "my variable");
  4083.  
  4084.  
  4085. ΓòÉΓòÉΓòÉ 13.4.8. DBUGP() Macro ΓòÉΓòÉΓòÉ
  4086.  
  4087. The DBUGP macro displays the contents of a POINTER data type. 
  4088.  
  4089. Prototype: ULONG  DBUGP(PVOID address, PCHAR note)
  4090.  
  4091. Parms:   address       ... Address of pointer to be displayed
  4092.       note        ... A personal description of your choice
  4093.  
  4094. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4095.  
  4096. Example:
  4097. _________________________________________________________________________
  4098. #include <stdio.h>
  4099. #include <stdlib.h>
  4100. #include <dbug.h>
  4101.  ...
  4102.  
  4103.  PVOID  variable;
  4104.  
  4105.  /* display pointer value */
  4106.  DBUGP(&variable, "my variable");
  4107.  
  4108.  /* display memory contents of size 2048 bytes */
  4109.  DBUG(variable, 2048, "my variable memory");
  4110.  
  4111.  
  4112. ΓòÉΓòÉΓòÉ 13.4.9. DBUGZ() Macro ΓòÉΓòÉΓòÉ
  4113.  
  4114. The DBUGZ macro displays the contents of a STRING data type. 
  4115.  
  4116. Prototype: ULONG  DBUGZ(PVOID address, PCHAR note)
  4117.  
  4118. Parms:   address       ... Address of string to be displayed
  4119.       note        ... A personal description of your choice
  4120.  
  4121. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4122.  
  4123. Example:
  4124. _________________________________________________________________________
  4125. #include <stdio.h>
  4126. #include <stdlib.h>
  4127. #include <dbug.h>
  4128.  ...
  4129.  
  4130.  CHAR  variable[32]="Hello world";
  4131.  
  4132.  DBUGZ(variable, "my variable");
  4133.  
  4134.  
  4135. ΓòÉΓòÉΓòÉ 13.4.10. DBUGOPEN() Macro ΓòÉΓòÉΓòÉ
  4136.  
  4137. The DBUGOPEN macro opens a new DBug log file. 
  4138.  
  4139. Prototype: ULONG  DBUGOPEN(VOID)
  4140.  
  4141. Parms:   None
  4142.  
  4143. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4144.  
  4145. Example:
  4146. _________________________________________________________________________
  4147. #include <stdio.h>
  4148. #include <stdlib.h>
  4149. #include <dbug.h>
  4150.  ...
  4151.  
  4152.  DBUGOPEN();
  4153.  
  4154.  
  4155. ΓòÉΓòÉΓòÉ 13.4.11. DBUGCLOSE() Macro ΓòÉΓòÉΓòÉ
  4156.  
  4157. The DBUGCLOSE macro closes the DBug log file. 
  4158.  
  4159. Prototype: ULONG  DBUGCLOSE(VOID)
  4160.  
  4161. Parms:   None
  4162.  
  4163. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4164.  
  4165. Example:
  4166. _________________________________________________________________________
  4167. #include <stdio.h>
  4168. #include <stdlib.h>
  4169. #include <dbug.h>
  4170.  ...
  4171.  
  4172.  DBUGCLOSE();
  4173.  
  4174.  
  4175. ΓòÉΓòÉΓòÉ 13.4.12. DBUGSTOP() Macro ΓòÉΓòÉΓòÉ
  4176.  
  4177. The DBUGSTOP macro terminates the DBug Facility. 
  4178.  
  4179. Prototype: ULONG  DBUGSTOP(VOID)
  4180.  
  4181. Parms:   None
  4182.  
  4183. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4184.  
  4185. Example:
  4186. _________________________________________________________________________
  4187. #include <stdio.h>
  4188. #include <stdlib.h>
  4189. #include <dbug.h>
  4190.  ...
  4191.  
  4192.  DBUGSTOP();
  4193.  
  4194.  
  4195. ΓòÉΓòÉΓòÉ 13.5. DBug Output ΓòÉΓòÉΓòÉ
  4196.  
  4197. The following is a sample output from the DBug Facility. 
  4198.  
  4199.  
  4200. Sample output
  4201. ------------------------------------------------------------------------
  4202. From: PID 00a3  At 21:06:42  DBUG.CPP (line 474)
  4203. Note: DBug log opened.
  4204. Type: INFO, 0 bytes  (0 qCnt)
  4205. ------------------------------------------------------------------------
  4206. From: PID 00a8  At 21:07:10  TEST.C (line 22)
  4207. Note: sample DBUGs
  4208. Type: INFO, 0 bytes  (3 qCnt)
  4209. ------------------------------------------------------------------------
  4210. From: PID 00a8  At 21:07:10  TEST.C (line 23)
  4211. Note: my return code (little endian)
  4212. Type: LONG, 4 bytes  (2 qCnt)
  4213. 0000: 00 00 00 00                   |....       |
  4214. ------------------------------------------------------------------------
  4215. From: PID 00a8  At 21:07:10  TEST.C (line 24)
  4216. Note: a chunk of memory
  4217. Type: VOID, 120 bytes  (1 qCnt)
  4218. 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4219. 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4220. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4221. 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4222. 0040: 00 00 00 00 00 00 00 00 00 00 43 44 45 46 00 00 |..........CDEF..|
  4223. 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4224. 0060: 00 00 00 00 00 43 00 00 00 00 00 00 00 00 60 c6 |.....C........`.|
  4225. 0070: a2 41 00 00 00 00 10 59             |.A.....Y     |
  4226. ------------------------------------------------------------------------
  4227. From: PID 00a8  At 21:07:10  TEST.C (line 25)
  4228. Note: my double value
  4229. Type: DOUBLE, 8 bytes  (0 qCnt)
  4230. 0000: 33 33 33 33 b3 00 ab 40             |3333...@     |
  4231. ------------------------------------------------------------------------
  4232.  
  4233. Using the last DBUG for example, the DBug output contains four (4) main 
  4234. sections: 
  4235.  
  4236.    1. The From section identifies who (what program) the DBUG was sent from: 
  4237.  
  4238.         a. The Process ID (as hex) 
  4239.  
  4240.         b. The time the DBug was issued (not received and displayed/logged). 
  4241.  
  4242.         c. The program source code name and line number of the DBUG statement 
  4243.            within the program source. 
  4244.  
  4245.    2. The Note section is where your personal note/description from the DBUG 
  4246.       statement is displayed. 
  4247.  
  4248.    3. The Type section identifies the data type displayed, the number of bytes 
  4249.       for the data, and how many DBUG statements remain in the DBug queue to be 
  4250.       displayed (qCnt): 
  4251.  
  4252.         a. These include all standard data types such as DOUBLE, CHAR, PCHAR, 
  4253.            INT, and so on. 
  4254.  
  4255.         b. VOID is displayed when a "memory chunk" is displayed. 
  4256.  
  4257.         c. INFO is displayed when just a DBUGM (Message) statement is issued. 
  4258.  
  4259.    4. The last section displays the contents (in hex and ASCII representation) 
  4260.       of the data type. The left most column of this section is the offset 
  4261.       starting at zero. 
  4262.  
  4263.  
  4264. ΓòÉΓòÉΓòÉ 14. Performance and Tuning ΓòÉΓòÉΓòÉ
  4265.  
  4266. This document makes an assumption that the reader is familiar with OS/2 Warp. 
  4267. It presents general and specific tuning information for a computer that will 
  4268. have or has had OS/2 Warp installed. 
  4269.  
  4270.  
  4271. ΓòÉΓòÉΓòÉ 14.1. General Setup Considerations ΓòÉΓòÉΓòÉ
  4272.  
  4273. There are some basic considerations that need to be made about the computer 
  4274. that you will install Warp on. It breaks down into 3 elements: processor, 
  4275. memory and disk. These three major elements, interestingly enough, have 
  4276. remained the three major elements since the computer was first developed. 
  4277.  
  4278. In most cases the processor that you have in your system has a minimal impact 
  4279. on performance compared to the amount of memory and the speed of the disk. The 
  4280. only real considerations to make with respect to processor are its age. 
  4281.  
  4282. You want to avoid 386 and 386SX processors. You want processors that can be 
  4283. upgraded and those that support instruction caching sometimes referred to as 
  4284. Level 1 or Level 2 cache. 
  4285.  
  4286. There really is no optimum level instruction cache size. More instruction cache 
  4287. is usually better than less. The only real determinant should be costs. 
  4288.  
  4289. Memory, also called RAM, is a different story. Without enough memory your 
  4290. system will run slowly.  If you cannot afford to buy memory for your system, 
  4291. then you must manage the things you install. 
  4292.  
  4293. You only want to install fonts, device drivers, objects and applications that 
  4294. you will actually use. You may think that just because you have not started an 
  4295. installed application, it is not using any memory. This is not always the case. 
  4296. Many newer OS/2 applications will register classes and objects with the 
  4297. WorkPlace Shell or add items into path statements, set statements and the like. 
  4298. Many of these things will cause memory to be used even when the program is not 
  4299. running. 
  4300.  
  4301. In some cases, the program will require special device drivers be installed 
  4302. which also use up memory. 
  4303.  
  4304. Other things that affect memory usage are disk cache, CDROM cache, multimedia 
  4305. support and file buffers. The important factor to consider for the disk cache, 
  4306. is that it is designed for general use. 
  4307.  
  4308. Since most systems are not general use, the disk cache should be tuned to the 
  4309. specific system environment to optimize memory usage. We will discuss the disk 
  4310. cache considerations in more detail when we look at the file system options. 
  4311.  
  4312. In addition to RAM and the CPU, one of the most important pieces of hardware on 
  4313. your system is the hard disk. It will affect the performance of starting your 
  4314. system, loading applications, the speed of applications, and the general 
  4315. performance of your system. 
  4316.  
  4317. It is best to have a disk subsystem which uses a bus-mastering type of adapter. 
  4318. Many SCSI devices and some of the PCI devices have this capability. These types 
  4319. of devices allow for multiple requests to be sent to the disk device to be 
  4320. processed rather than just one command or function at a time. They also allow 
  4321. what is called scatter/gather capabilities. 
  4322.  
  4323. Without bus mastering, data that is transferred between the computer's memory 
  4324. and the disk must be in contiguous memory, one byte after the other. With bus 
  4325. mastering, the data does not have to be contiguous and does not have to be on a 
  4326. 64K byte boundary. Bus-mastering relieves the system of a lot of overhead and 
  4327. therefore performs faster in actual usage, although  you will see little or no 
  4328. difference when running benchmarks. 
  4329.  
  4330. When the memory in your system is overcommitted, that is, the operating system 
  4331. and the applications you are running need more memory than is physically 
  4332. available in your computer, Warp will page, or swap, code and data that has not 
  4333. been accessed for a while to the disk in order to make room for the needed code 
  4334. and data. In this instance, the disk is the single most important factor in 
  4335. your system with respect to performance. 
  4336.  
  4337. Other considerations with regard to the disk is whether or not it has its own 
  4338. caching. If it does and your applications perform mainly sequential disk 
  4339. access, then you can reduce the size of your software disk cache. However, this 
  4340. is subject to the amount of cache installed on the controller. Usually, 256 KB 
  4341. cache is a minimum necessary setting for disk cache. 
  4342.  
  4343. Hardware disk cache will have little or no effect when the programs perform 
  4344. random disk operations. The hardware cache will improve the performance of 
  4345. starting the Warp operating system and the applications. 
  4346.  
  4347. Run a normal load of programs on your machine and then check 
  4348. C:\OS2\SYSTEM\SWAPPER.DAT. Divide its size by 1024 and use that to determine 
  4349. how much space to pre-allocate for your swappath. For example, if your system 
  4350. normally has a 14 MB SWAPPER.DAT, change your swappath line in CONFIG.SYS to 
  4351. like "SWAPPATH=C:\OS2\SYSTEM 2048 14680". 
  4352.  
  4353. If you're running a video driver at a very high color and resolution (65K or 
  4354. 16.6 Million colors) that can severely impact system performance. Try running 
  4355. at 256 colors and see if it works any better. 
  4356.  
  4357. Don't run more than one CPU resource monitor at a time. 
  4358.  
  4359. If you're running a 4 MB system, expect a lot of swapping. More memory will 
  4360. always improve performance. 
  4361.  
  4362. Printing can be CPU intensive. Using the OS/2 spooler and adjusting the spooler 
  4363. priority, you can fine tune the printing overhead so that it has the least 
  4364. negative impact on system performance while keeping the printer(s) busy. A 
  4365. priority setting above 50% may be too aggressive for some slower low-end 
  4366. systems. 
  4367.  
  4368. Keep in mind, the OS/2 spooler requires memory as well (about 512 KB) and will 
  4369. reduce available memory accordingly. If your system has 8 MB of memory and you 
  4370. print infrequently, consider turning off the OS/2 spooler. 
  4371.  
  4372.  
  4373. ΓòÉΓòÉΓòÉ 14.2. File System Performance ΓòÉΓòÉΓòÉ
  4374.  
  4375. OS/2 supports two file systems for use on your hard disks: FAT and HPFS. No 
  4376. matter which file system is used, there are some basic considerations. 
  4377.  
  4378. You need to install the file system depending on which operating systems will 
  4379. access the data. If you plan to boot a DOS or Windows system natively, then any 
  4380. data that will be accessed must exist on a FAT disk partition. 
  4381.  
  4382. If you will only be running DOS and Windows applications in a Warp VDM ( 
  4383. Virtual DOS Machine ), then the file system can be HPFS or FAT. 
  4384.  
  4385. Also, when accessing a file on a server, and the server file system is HPFS, 
  4386. you do not need to install HPFS on your local client machine. HPFS only needs 
  4387. to be installed on a computer when a partition on a local hard disk is 
  4388. formatted as HPFS. 
  4389.  
  4390. The amount of memory you have in your machine should affect the decision about 
  4391. which file system to use. When HPFS is installed, it requires a minimum 200 to 
  4392. 250 KB of working set, plus the space allocated for its cache. This is a 
  4393. significant amount of memory and is the main reason why FAT is used when Warp 
  4394. is installed on a system that contains 4 MB of physical memory.. 
  4395.  
  4396. Regardless of which file system you select, you need to plan for future 
  4397. requirements: How will maintenance and fixes be applied? Where will 
  4398. applications be installed? Where will data reside? etc. 
  4399.  
  4400. It is recommended that when you set up your hard disk, you create a minimum of 
  4401. 3 partitions. One will be for the operating system(s), one for your 
  4402. applications and static data files, and another for dynamic data files and 
  4403. temporary files.  Decide whether you want to use Boot Manager or Dual Boot. 
  4404.  
  4405. If you select Dual Boot, then OS/2 must be installed with FAT file system. 
  4406.  
  4407. For temporary files, it is better to have them preallocated and reuse them 
  4408. rather than create and destroy them every time. Extending a file can be almost 
  4409. twice as slow as just writing to a file. Also, if you reuse files, it will 
  4410. definitely reduce the fragmentation in your disk directories. 
  4411.  
  4412.  
  4413. ΓòÉΓòÉΓòÉ 14.2.1. FAT File System ΓòÉΓòÉΓòÉ
  4414.  
  4415. FAT is best suited for disk partitions that are 80 MB or less in size or that 
  4416. have a limited number of files installed. Usually, 256 files is a good target, 
  4417. with up to 500 acceptable. 
  4418.  
  4419. The number of files become important because FAT files are allocated based on a 
  4420. sector size. The sector size is determined by the size of the disk partition 
  4421. and can be 2K, 4K, 8K or higher. 
  4422.  
  4423. Since most file sizes are not an exact multiple of the sector size, disk space 
  4424. gets wasted. For example, installing DOS, Windows and Warp on a 100 MB 
  4425. partition resulted in 2.2 MB of disk space being wasted. 
  4426.  
  4427. Also, when Warp is allocating space for a file in a FAT partition, it will look 
  4428. for the largest available free space area to write the data or create the file. 
  4429.  
  4430. If lots of files were created and deleted, or expanded, these free space areas 
  4431. become smaller and smaller and are spread out over the disk. This is referred 
  4432. to as fragmentation. 
  4433.  
  4434. When a file is stored in many areas on the disk, it takes longer to read that 
  4435. data simply because the disk head has to do more seeking. 
  4436.  
  4437. The FAT file system disk cache is defined by the DISKCACHE= statement in the 
  4438. CONFIG.SYS file. New in Warp is the "D" designation for the size of the disk 
  4439. cache. Warp will allocate space for the disk cache based on the amount of 
  4440. physical memory that is installed in the system. If more than 8 MB is 
  4441. installed, 10% of the physical memory will be used for the disk cache up to a 
  4442. maximum of 14.4 MB. 
  4443.  
  4444. Based on what applications and support you install in your system, this may be 
  4445. too high and cause you to overcommit your memory. If there is not a lot of disk 
  4446. work done on your system, or you are using DB/2 or HPFS, then you should reduce 
  4447. the size of your disk cache. A number between 128 and 256K is sufficient for 
  4448. most systems. On a 4 MB system, the disk cache is set to 48K. 
  4449.  
  4450. In conjunction with the cache size, you should also set the cache threshold. 
  4451. This determines which records being written or read will be placed in the 
  4452. cache. The default is 1 sector. 
  4453.  
  4454. If your cache size is 128K or larger, increase this value to at least 16 and 
  4455. preferably 32. More detail about the DISKCACHE= statement will be given in the 
  4456. section on CONFIG.SYS. 
  4457.  
  4458. Some additional items for improving performance using FAT are: 
  4459.  
  4460.    1. Group files by usage, the most used files first, and least used files 
  4461.       last. 
  4462.  
  4463.    2. Group files based on whether they are static or dynamic. All dynamic and 
  4464.       temporary files should be placed in a separate partition. 
  4465.  
  4466.    3. If possible, place all temporary files in a single directory. 
  4467.  
  4468.    4. If possible, permanently create temporary files and reuse them. 
  4469.  
  4470.    5. Only create directories that are really needed. The fewer number of 
  4471.       directories you have to search, the faster your search will be. 
  4472.  
  4473.    6. Defragment your partitions after installing new applications, deleting 
  4474.       files or applying maintenance and fixes. Any DOS defragmentation program 
  4475.       that is aware of hidden files can be used. 
  4476.  
  4477.  
  4478. ΓòÉΓòÉΓòÉ 14.2.2. HPFS File System ΓòÉΓòÉΓòÉ
  4479.  
  4480. HPFS does away with some of the concerns that are prevalent with FAT. Files are 
  4481. allocated with more granularity than FAT, and "free space" is allocated in 
  4482. anticipation of file size growth. Therefore fragmentation is greatly reduced 
  4483. and less disk space is used on a per file basis. It is not uncommon to regain 
  4484. about 10 MB out of 100 MB as compared to using FAT. 
  4485.  
  4486. Also, HPFS is especially efficient when handling large partition sizes, > 100 
  4487. MB, and large numbers of files, > 500. Try to limit the number of individual 
  4488. files in a directory to not exceed 5000. 
  4489.  
  4490. The HPFS file system shipped with the OS/2 product has a cache limit of 2 MB. 
  4491. There is no such limit when using the HPFS386 file system that comes with the 
  4492. LAN Server products. 
  4493.  
  4494. HPFS cache parameters are specified on the IFS statement in the CONFIG.SYS 
  4495. file. As with FAT, you should specify the caching threshold value. Use the 
  4496. /CRECL parameter to do this. Here you specify a number in terms of K bytes. 32 
  4497. KB is usually a good starting value. 
  4498.  
  4499. As mentioned earlier, a minor drawback to HPFS is the amount of extra memory 
  4500. that it requires to achieve its performance. Even if there is no HPFS partition 
  4501. on your system, it will cost between 128 and 130K of working set memory, as 
  4502. well as the space for the HPFS cache. Overall, it's a small price to pay for a 
  4503. high performance file system. 
  4504.  
  4505. If you are installing Warp on an existing DOS and or Windows system, you do not 
  4506. want to install HPFS. When your system is up and running, you can check the 
  4507. working set of your system. 
  4508.  
  4509. If there is enough free memory and you wish to create a HPFS partition, then 
  4510. you can use selective reinstall to install the HPFS support. Remember that any 
  4511. data stored in the HPFS partition can not be accessed if you boot your machine 
  4512. under DOS. 
  4513.  
  4514. Another advantage of HPFS over FAT is in the area of extended attributes (EAs). 
  4515. EAs are data attached to a file and used to provide information about the file 
  4516. it is attached to. 
  4517.  
  4518. The name of an object that appears in an OS/2 folder or on the OS/2 Desktop is 
  4519. stored in EAs. In HPFS, EAs are part of the HPFS file control block which is 
  4520. read when the file is open. 
  4521.  
  4522. In FAT, EAs are stored in a separate file and require additional I/O to access 
  4523. them, and are therefore slower. 
  4524.  
  4525. Overall, HPFS comes highly recommended. It has matured since conception to 
  4526. bring very safe high performance to your system and successfully replaces the 
  4527. age old FAT design. 
  4528.  
  4529.  
  4530. ΓòÉΓòÉΓòÉ 14.2.3. Gospel of Disk Cache ΓòÉΓòÉΓòÉ
  4531.  
  4532. The following "Gospel of Caching According to Max" is provided by Proportional 
  4533. Software based upon a great deal of OS/2 system "tweaking" done by the DCF/2 
  4534. development team. 
  4535.  
  4536. You can get better performance from your system by using the memory you have 
  4537. available to you in the most efficient and effective way. 
  4538.  
  4539. From the table below, select the case that best describes the file system or 
  4540. systems you use and memory available on your system. 
  4541.  
  4542.  
  4543. CASE 1: You use only HPFS or only FAT but not both
  4544. ----------------------------------------------------------------
  4545.                  HPFS only     FAT only
  4546. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4547.         16 MB        2048      2048
  4548.         12 MB        1536      1536
  4549.          8 MB        1024      1024
  4550.  
  4551. FAT DISKCACHE parms:
  4552.      LAZY WRITES        N/A       LW
  4553.  
  4554. HPFS CACHE parms:
  4555.      LAZY WRITES        /LAZY:ON    N/A
  4556.         MAXAGE        >7,500     N/A
  4557.        DISKIDLE        60,000     N/A
  4558.       BUFFERIDLE        60,000     N/A
  4559.  
  4560. If your system is HPFS only REM out the DISKCACHE statement in
  4561. your CONFIG.SYS file. If your system is FAT only, REM out the
  4562. IFS=HPFS.IFS statement.
  4563.  
  4564.  
  4565. CASE 2: You use both HPFS and FAT (active and passive)
  4566. ----------------------------------------------------------------
  4567.                 HPFS active    FAT passive
  4568. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4569.         16 MB       2048       512 -1024
  4570.         12 MB       1536       256 - 512
  4571.          8 MB       1024       128 - 256
  4572.  
  4573. FAT DISKCACHE parms:
  4574.      LAZY WRITES       N/A        LW
  4575.  
  4576. HPFS CACHE parms:
  4577.      LAZY WRITES       /LAZY:ON     N/A
  4578.         MAXAGE       >7,500      N/A
  4579.        DISKIDLE       60,000      N/A
  4580.       BUFFERIDLE       60,000      N/A
  4581.  
  4582.  
  4583. CASE 3: You use both HPFS and FAT (passive and active)
  4584. ----------------------------------------------------------------
  4585.                  HPFS passive    FAT active
  4586. If system memory is at least   Set CACHE to  Set DISKCACHE to
  4587.         16 MB        1024       2048
  4588.         12 MB        768       1536
  4589.          8 MB        512       1024
  4590.  
  4591. FAT DISKCACHE parms:
  4592.      LAZY WRITES        N/A       LW
  4593.  
  4594. HPFS CACHE parms:
  4595.      LAZY WRITES        /LAZY:ON     N/A
  4596.         MAXAGE        >7,500      N/A
  4597.        DISKIDLE        60,000      N/A
  4598.       BUFFERIDLE        60,000      N/A
  4599.  
  4600. A few more notes: 
  4601.  
  4602.    1. For purposes of the table above, "active" and "passive" are descriptors 
  4603.       for the way a partition is used.  If it is seldom used, it is "passive." 
  4604.       If a lot of disk intensive I/O occurs on the partition, it is "active." 
  4605.  
  4606.    2. The HPFS actually requires 128 to 130K of committed memory as opposed to 
  4607.       the widely perceived 512K.  As cache size increases to 2 MB, this 
  4608.       requirement increases as well, up to a maximum of about 240K. 
  4609.  
  4610.    3. The optimal cache size seems to be 1536. 
  4611.  
  4612.    4. When comparing the relative merits of the HPFS versus FAT, consider the 
  4613.       following:  On partitions of identical size, the HPFS gives you about 15% 
  4614.       more space and performance is about 28% better! 
  4615.  
  4616.    5. Instead of continuing to increase performance, a DISKCACHE value in 
  4617.       excess of 2048 seems to degrade it. 
  4618.  
  4619.  
  4620. ΓòÉΓòÉΓòÉ 14.3. System Tuning ΓòÉΓòÉΓòÉ
  4621.  
  4622. Before covering OS/2 system tuning let's review the concept of threads and how 
  4623. they are used in OS/2. Every program that you run on an OS/2 system will 
  4624. process as one or more threads. 
  4625.  
  4626. A thread is the basic unit of work within OS/2. Each thread requires a minimum 
  4627. of 4K stack space. Stack space is used to save parameters and addresses when 
  4628. different functions are called from a thread. 
  4629.  
  4630. These functions might be reading from or writing to a disk, using semaphores, 
  4631. and other system and program functions. It is important to ensure that you 
  4632. allocate enough stack space for the thread to run. 
  4633.  
  4634. You can use programs such as EXEHDR.EXE to see and modify the stack space 
  4635. allocated for your program. All programs, DOS, Windows and OS/2 use a minimum 
  4636. of one thread. Each thread executes at a given priority. 
  4637.  
  4638. The priority is used by OS/2 to determine which thread gets to run when more 
  4639. than one thread is ready to run. The highest-priority thread ready to run will 
  4640. be the one dispatched by the system and given time to run. It is given what is 
  4641. referred to as a "time slice". This is a set period of time during which a 
  4642. thread is allowed to run. After this time has expired, the highest-priority 
  4643. thread that is ready to run will be given a time slice in which to run. 
  4644.  
  4645. If the same thread still wanted to run, and it was the highest-priority thread, 
  4646. it would receive another time slice to run in. 
  4647.  
  4648. OS/2 programs usually run at normal priority, which is 200. Under program 
  4649. control, the program can change its priority to be server class, 300, or 
  4650. time-critical, 800. 
  4651.  
  4652. It can also change its subclass priority between 0 and 31. A thread that has 
  4653. priority 200 and a subclass of 15 has a higher effective priority than a thread 
  4654. with priority 200 and subclass 0, and therefore runs first. 
  4655.  
  4656. All DOS and Windows applications always run at priority 200. In OS/2 Warp, IBM 
  4657. has added the capability to define the subclass priority for these 
  4658. applications. Care should be taken when using this subclass priority since it 
  4659. may cause other programs to run slower or generate errors in the case of 
  4660. communication applications that do not get the subclass boost. 
  4661.  
  4662. Warp will give OS/2 threads a priority boost for specific types of functions 
  4663. and states. Following are the priority boosts that are received, in descending 
  4664. order: 
  4665.  
  4666.    1. Disk I/O: When an interrupt is received stating that a disk operation has 
  4667.       completed, the thread that processes this state will receive a priority 
  4668.       boost for one time slice to process this interrupt. 
  4669.  
  4670.    2. Starved: In the CONFIG.SYS file, there is a statement MAXWAIT=3. The 
  4671.       number 3 specifies how long a thread can be in the ready-to-run state 
  4672.       without having received time to run. If a thread had been waiting to run 
  4673.       for 3 seconds, its priority would be raised to the Starved priority 
  4674.       level. 
  4675.  
  4676.    3. Keyboard: This is a boost in priority given to a thread when it is 
  4677.       interacting with the system keyboard. Basically, it is for accepting 
  4678.       typed in data. 
  4679.  
  4680.    4. Foreground:  This is a priority boost given to all threads of the program 
  4681.       that owns the active window on the OS/2 screen, the one that is 
  4682.       highlighted. 
  4683.  
  4684.    5. Windowed:  Threads which have windows showing on the display will also 
  4685.       receive a priority boost when drawing or writing into that window. 
  4686.  
  4687.  When a thread is in more than one of these states, the system will combine the 
  4688.  states and give a priority based on the combined states. 
  4689.  
  4690.  For DOS and Windows applications, these priority states do not apply. Instead, 
  4691.  a second thread is used to handle the interrupt, and that thread is given an 
  4692.  interrupt boost.. 
  4693.  
  4694.  Idle class is the other priority class that exists in OS/2. This priority 
  4695.  level runs only when nothing else in the system wants to run. Threads in this 
  4696.  class will not receive any of the state boosts. 
  4697.  
  4698.  If DOS and/or Windows applications are being run, then you should avoid the 
  4699.  use of threads that run in idle class because they will never run but will 
  4700.  take up system space. 
  4701.  
  4702.  
  4703. ΓòÉΓòÉΓòÉ 14.3.1. CONFIG.SYS Settings ΓòÉΓòÉΓòÉ
  4704.  
  4705. These are specific things in the CONFIG.SYS file that you can change to affect 
  4706. the performance of your system. 
  4707.  
  4708. First, we cover those statements that you should NOT modify unless you have a 
  4709. system which has a special use, such as a process control system. An example 
  4710. would be a system used to monitor a manufacturing machine or chemical process, 
  4711. where timing and response time are critical factors. 
  4712.  
  4713.    1. PRIORITY_DISK_IO=YES  This allows the application that has screen focus 
  4714.       to receive a priority boost when it's disk operation is complete. This 
  4715.       applies to the first time slice given to the thread after the disk 
  4716.       operation is complete. After the time slice, the state is reset for the 
  4717.       thread and the priority boost removed. 
  4718.  
  4719.    2. MEMMAN=SWAP,PROTECT  Allows OS/2 to swap code and data to disk when more 
  4720.       memory is needed than is physically available in your computer. If you do 
  4721.       not specify SWAP, you will need enough physical memory in you computer to 
  4722.       hold all the code and data that OS/2 and your application needs to run. 
  4723.       You do not pay a penalty by specifying SWAP and then not needing to use 
  4724.       it. The PROTECT parameter allows Dynamic Link Libraries (DLL) to allocate 
  4725.       protected memory. Protected memory is memory that is protected from being 
  4726.       accessed by unauthorized programs. You can also specify a COMMIT 
  4727.       parameter. This forces the system to ensure that enough physical memory 
  4728.       or swap file disk space is available for a memory object when it is 
  4729.       created. Normally, OS/2 commits physical and disk memory when the page of 
  4730.       memory is actually touched. Specifying this parameter can significantly 
  4731.       increase the amount space your swap file uses on disk. 
  4732.  
  4733.    3. TIMESLICE=X,Y  This statement is not found in the CONFIG.SYS file after 
  4734.       you install OS/2 but is sometimes recommended to be added. This was okay 
  4735.       to add for OS/2 2.0, 2.1 or 2.11 systems, but not for OS/2 Warp. In Warp, 
  4736.       it dynamically modify a thread's time slice based on actions that have 
  4737.       occurred. For instance, if a thread took a page fault during it's time 
  4738.       slice, an extra time slice is granted to process what is contained in the 
  4739.       faulted page. An applications doing disk I/O is given an extra time 
  4740.       slices if the data they are reading is in the disk cache. When the 
  4741.       TIMESLICE parameter is used, none of these actions will occur. Instead, 
  4742.       each thread will be given the minimum time slice of X, and its time slice 
  4743.       will not be allowed to go beyond value Y. 
  4744.  
  4745.    4. PRIORITY=DYNAMIC  If DYNAMIC is not specified, then each thread will 
  4746.       receive a minimum and maximum time slice of 32 milliseconds with no 
  4747.       additional time slices as described in the TIMESLICE= statement 
  4748.       description above. 
  4749.  
  4750.    5. DEVICE=C:\OS2\BOOT\VDISK.SYS  This statement allocates a virtual disk in 
  4751.       your computers physical memory. It is used for quick access to often-used 
  4752.       files and programs. This was good for a DOS environment where the extra 
  4753.       memory in your computer was not used by DOS, but OS/2 uses this memory, 
  4754.       and your performance can be adversely affected if a VDISK is used. It is 
  4755.       much better to increase the size of the disk cache if you have unused 
  4756.       physical memory than it is to use VDISK. 
  4757.  
  4758.  Now let us look at statements in CONFIG.SYS which you should change to help 
  4759.  improve the performance of your Warp system. 
  4760.  
  4761.    1. LIBPATH=  This tells the system where to find DLL files and disk device 
  4762.       drivers that Warp and applications use. Place the directory names in 
  4763.       order of usage. The most accessed directory should be first, the least 
  4764.       used last. If possible, place the DLL used by a program in the same 
  4765.       directory as the working directory when the program is running. Then, you 
  4766.       do not need to add that directory to the LIBPATH statement. Also, place 
  4767.       all directories that are on a network at the end of your LIBPATH 
  4768.       statement in case the network goes down and they cannot be accessed. See 
  4769.       the discussion of dynamic LIBPATH support later on in this paper for 
  4770.       additional considerations when accessing network drives. 
  4771.  
  4772.    2. PATH=  is used to specify where Warp searches for program executable 
  4773.       files, EXE, COM, CMD, BAT, etc.  Place the directories in order of most 
  4774.       used first, least used last. If programs will be executed from an object 
  4775.       on your desktop or folder, specify the path there and not in the PATH 
  4776.       statement. Only place directories in the PATH statement for executables 
  4777.       that will be called from other programs or commands. 
  4778.  
  4779.    3. DPATH=  The same principle applies to DPATH as PATH and LIBPATH.  For 
  4780.       resources that applications use, place the most used directories first 
  4781.       and the least used last. 
  4782.  
  4783.    4. BUFFERS=90  Buffers are physical memory used to support partial sector 
  4784.       reads and writes in a FAT file system environment. They are also used to 
  4785.       cache FAT directory entries and for swap file disk I/O. Because BUFFERS 
  4786.       are used to cache FAT directory entries, this number should not be 
  4787.       reduced below 60, unless you are not using the FAT file system on your 
  4788.       disks. Reducing this number will increase the number of disk reads that 
  4789.       are done to the FAT directory entries and therefore slow down your 
  4790.       system. 
  4791.  
  4792.    5. MAXWAIT=3  This specifies the maximum amount of time that a thread will 
  4793.       be in a ready-to-run state without receiving a time slice to run in. 
  4794.       After this time expires, the thread will be given a boost in priority so 
  4795.       it gets a chance to run. Reducing this value to 2 may help in systems 
  4796.       where there are a lot of programs running, or multiple separate 
  4797.       DOS/Windows programs running. Reducing it to 1 on systems where there is 
  4798.       swap activity taking place can slow down the system. 
  4799.  
  4800.    6. DISKCACHE=D,LW,T,AC  This is used to specify the amount of physical 
  4801.       memory set aside to cache data that is being read from or written to 
  4802.       disk. D represents a dynamic disk cache value that varies in size from 
  4803.       48K to 14400K, based on the amount of physical memory you have in your 
  4804.       system. If you have more than 8 MB in your system, D will be 10% of your 
  4805.       system's physical memory. The D should be changed to the actual amount of 
  4806.       disk cache space you require. If you have a system where your programs do 
  4807.       not do much disk I/O or where your memory is being used up by your 
  4808.       applications, you may want to set this value to 128. Also, reduce this 
  4809.       value if you are using the DB/2 product or any other product that 
  4810.       provides its own disk data caching. The T parameter is not defined in the 
  4811.       default CONFIG.SYS file. It defines the  cache threshold for records that 
  4812.       go into the cache. The default value is 4. This means that any record 
  4813.       that is 4 sectors or less will go into the cache, while those greater 
  4814.       will not. If your disk cache size is 128K or larger, add this parameter 
  4815.       to the disk cache statement. If known, set this value to the largest 
  4816.       record size used. Otherwise, set the value to 32. The LW parameter 
  4817.       activates the Lazy Write or write behind feature. This allows the 
  4818.       application to get control back before the data is actually written to 
  4819.       disk. A separate thread will write the data from the cache to the disk 
  4820.       when necessary or opportune to do so. You should always use this option, 
  4821.       and code any applications to open files with cache bypass option if disk 
  4822.       data security is imperative. 
  4823.  
  4824.    7. SWAPPATH=D,R,S  SWAPPATH specifies where code and data pages are swapped 
  4825.       to on disk when more physical memory is needed than is available in your 
  4826.       system. D represents the path where your SWAPPER.DAT file is located. For 
  4827.       systems which have multiple partitions or multiple disks, this should be 
  4828.       placed on the least used  directory of the least used disk. Also, try to 
  4829.       physically locate the swap file on the disk based on its usage. If you 
  4830.       are doing a lot of swap activity, place the swap file at the start of the 
  4831.       disk. If is it rarely used, place it at the end. S is the size that the 
  4832.       swap file is initialized to when you start your Warp system. Make this 
  4833.       large enough so that it does not have to grow in size while you are 
  4834.       running your programs. You should perform your normal computer functions 
  4835.       and look at the size of the swap file when you have the most activity. 
  4836.       Then set the value of the S to this size in the CONFIG.SYS file. If you 
  4837.       are using the FAT file system, IPL your system under DOS, delete the 
  4838.       SWAPPER.DAT file, defragment the disk partition where the swap file will 
  4839.       be located, and then IPL your OS/2 system. This should keep your swap 
  4840.       file from getting fragmented. R specifies the amount of free space that 
  4841.       must be in the swap file. The default for this value is adequate and only 
  4842.       needs to be changed if you want to be warned earlier about a possible 
  4843.       out-of-memory situation. 
  4844.  
  4845.    8. THREADS=  THREADS defines how many threads the system will be able to 
  4846.       use.  One page of resident memory is need for approximately every 32 
  4847.       threads that are defined. As a minimum, you will need 80 threads to 
  4848.       support the base Warp system and 3 or 4 OS/2, DOS and or Windows 
  4849.       applications. The system will support up to 64000 threads, but typically 
  4850.       you will not have enough memory in your system to support more than 300 
  4851.       to 500 threads. 18 threads are required for LAN Server 4.0. To calculate 
  4852.       the number of threads that you will need in your system, use the formula 
  4853.       54+(2xN)+10 where N is the number of programs that you will run together. 
  4854.       If the program requires more than 2 threads, add in the additional 
  4855.       threads. 
  4856.  
  4857.  Additional CONFIG.SYS Considerations: 
  4858.  
  4859.    1. You should only install the devices drivers that your programs actually 
  4860.       need to run. 
  4861.  
  4862.    2. Do not install extra communication, printer, video or device drivers if 
  4863.       they will not be used. Below are a list of device drivers and virtual 
  4864.       device drivers that are normally found in CONFIG.SYS and that may not be 
  4865.       needed. (Virtual device drivers are used to support DOS and Windows 
  4866.       applications and usually have a V at the beginning of their name.) 
  4867.  
  4868.         a. VEMM.SYS  Used to support Expanded Memory use in DOS and Windows 
  4869.            programs. 
  4870.  
  4871.         b. VXMS.SYS  Supports Extended Memory in DOS and Windows applications. 
  4872.  
  4873.         c. VDPMI.SYS  Supports the DPMI memory access and is required to 
  4874.            support all Windows applications. 
  4875.  
  4876.         d. VW32S.SYS  Supplies support for the WIN32S Windows APIs. Not needed 
  4877.            for Windows programs that do not use WIN32S APIs. 
  4878.  
  4879.         e. IBMxFLPY.ADD  x will be either a 1 or a 2. 1 is used for family 1 
  4880.            machines and 2 is for MCA machines. You do not need both. 
  4881.  
  4882.         f. XDFLOPPY.FLT  This is required for reading diskettes which are 
  4883.            written using the XDF (Extended Disk Format) format. These are 
  4884.            usually OS/2 and PCDOS 7 installation diskettes, printer and video 
  4885.            driver diskettes. The Warp Install and Disk 1 diskettes do not use 
  4886.            the XDF format. 
  4887.  
  4888.         g. COM.SYS and VCOM.SYS are only required if you will be doing serial 
  4889.            or async  communications. 
  4890.  
  4891.  If you use the selectable CONFIG.SYS option in the Archive and Retrieve 
  4892.  feature of Warp, it is possible to create multiple CONFIG.SYS files which will 
  4893.  contain different device drivers based on your needs. For example, you could 
  4894.  create one CONFIG.SYS file that is used for maintenance and installation. This 
  4895.  one would include the XDFLOPPY.FLT and both IBMxFLPY.ADD drivers plus 
  4896.  additional threads. Another CONFIG.SYS used for normal processing could have 
  4897.  these device drivers removed and a lower number of threads. When maintenance 
  4898.  has to be applied to the system, or some additional new products installed, 
  4899.  you could IPL the machine with the Archive and Retrieval menu active and 
  4900.  select the proper CONFIG.SYS to be used. An extension of this would be to 
  4901.  archive the CONFIG.SYS and the OS/2 INI files and select those to apply 
  4902.  maintenance. 
  4903.  
  4904.  Note:  DO NOT assume that the Archive and Retrieve feature of Warp acts as a 
  4905.  means to backup the desktop. In the event of a complete disk failure, only 
  4906.  backup images stored off line can be depended upon. 
  4907.  
  4908.  
  4909. ΓòÉΓòÉΓòÉ 14.3.2. Desktop Settings ΓòÉΓòÉΓòÉ
  4910.  
  4911. Let's look at some of the System Settings and Desktop settings that can be 
  4912. tuned to improve a system's performance. In the System Setup Folder there are 
  4913. many utilities that are available. 
  4914.  
  4915. Add "SET RESTARTOBJECTS=STARTUPFOLDERSONLY" in your CONFIG.SYS to keep OS/2 
  4916. from restarting at bootup all previous open application. 
  4917.  
  4918. Spooler:  The drop-down menu provides an option to disable the spooler. This 
  4919. can be done without problems when only one job will be active on your printer 
  4920. at a time. This will save a little bit of memory and one process and thread in 
  4921. your system. If you have a dedicated print spool machine, then you should raise 
  4922. the priority of the spooler to it's highest point. For non-dedicated print 
  4923. spool systems, the priority should remain at the default. You would only 
  4924. increase this if (for example) you raised the subpriority of a DOS session and 
  4925. wanted to print documents while running the DOS session. In this case, you 
  4926. would want to make the priority of the print spooler the same as the DOS 
  4927. session. 
  4928.  
  4929. Schemes and Color Palette:  You should use solid colors and avoid the use of 
  4930. bitmaps for desktop and folder backgrounds when conversing memory. These 
  4931. particular options use more memory and require more processing time to display 
  4932. them. 
  4933.  
  4934. Sounds:  Deselect the System Sounds options, unless you like the noises when 
  4935. opening and closing your folders. It costs between 250 and 300K in working set 
  4936. just to hear the noise. An additional 40K or so of working set can be saved by 
  4937. executing DINSTSND.CMD in an OS/2 command session. This will unhook the system 
  4938. sounds from the OS/2 desktop. To get them back, you would execute INSTSND.CMD. 
  4939.  
  4940. Font Palette:  Only install the fonts that you will actually use in your 
  4941. system. Also, try not to mix fonts in folders or on the OS/2 Desktop. If you 
  4942. do, you will be using extra memory. Outline fonts tend to be a little smaller 
  4943. in terms of memory than bitmap fonts and once they are in the cache, they 
  4944. perform just as fast. 
  4945.  
  4946. WIN-OS/2:  When defining a Windows program, select common sessions and make DDE 
  4947. and Clipboard support both private. If floating-point is used in your Windows 
  4948. applications, use the enhanced run mode for Windows. Also, if you have a 
  4949. Windows application that you always run, it is better to start it via the 
  4950. Startup Folder than to use the Fast Load option and start it from the Desktop. 
  4951. Finally, ensure that when you migrate, install or add Windows programs to you 
  4952. system, that the run mode for these is the same as the common session run mode. 
  4953. If run modes are different, then you will have two separate Windows sessions 
  4954. running even though you stated that a common session is to be used. 
  4955.  
  4956. System Setup:  Disabling the Animation and Print Screen option can save a 
  4957. little in code path and memory. Setting the System Logo option to none can save 
  4958. some time when loading applications that check this parameter to see how long 
  4959. to display their applications logo. The type-ahead option will use a little 
  4960. more memory. When selecting screen resolutions, remember that the higher the 
  4961. resolution, the more memory that is used.  Very high resolution and color 
  4962. support can require 100 to 200K of physical memory. 
  4963.  
  4964. Mouse:  Mouse pointers are basically bitmaps. The amount of memory used will be 
  4965. affected by which mouse pointer style you choose. If you activate the comet 
  4966. cursor, this will cost additional memory and processing time whenever the mouse 
  4967. is being used. 
  4968.  
  4969. Desktop Settings:  Desktop settings are selected by choosing the Settings 
  4970. option on the Desktop menu. Choosing Automatic Lockup will cause extra code 
  4971. path and processing time to occur. Normally this is very minimal, until the 
  4972. time-out value expires. Then you are looking at about 40 to 50K of working set. 
  4973. If you select Create Archive on system restarts, this will slow down your 
  4974. systems IPL time. You want to set this option only when you have changed your 
  4975. desktop and/or configuration and want to save it. Once it has been saved, turn 
  4976. this option off. You can get to the Archive Retrieve menu screen when you IPL 
  4977. your machine by using the ALT+F1 key sequence. 
  4978.  
  4979. Conclusion: 
  4980.  
  4981.    1. All the bells and whistles, neat features, applications and devices come 
  4982.       at a cost. They all cost disk space, they all use memory, and they all 
  4983.       have the potential for slowing your system down. 
  4984.  
  4985.    2. To minimize this, plan ahead. Decide what the system will be used for and 
  4986.       what your future uses will be. Then, set up the system accordingly. 
  4987.  
  4988.    3. Install only the things that you are actually going to use and need. 
  4989.       Ensure that there is a match between the software you install and the 
  4990.       hardware you install it on. 
  4991.  
  4992.    4. If an application or feature cost more memory than you have, either don't 
  4993.       install the feature, or get more memory for your system. 
  4994.  
  4995.    5. Be creative and logical. You can set the system up with different 
  4996.       configurations and different support, defined to optimize performance 
  4997.       based on the particular functions you perform and applications you use. 
  4998.  
  4999.    6. Finally, become aware of what Warp has to offer and use it to your 
  5000.       advantage. 
  5001.  
  5002.  
  5003. ΓòÉΓòÉΓòÉ 15. Glossary ΓòÉΓòÉΓòÉ
  5004.  
  5005.    1. Virtual Memory refers to the concept that available disk space is used to 
  5006.       hold inactive memory while demanding active memory can be serviced. This 
  5007.       is managed in cooperation by both the operating system (OS/2) and the 
  5008.       CPU. OS/2 deploys and takes advantage of a true Virtual Memory model by 
  5009.       using the OS/2 Swap file for temporarily holding over-committed and 
  5010.       inactive memory. 
  5011.  
  5012.    2. Swapping is a normal activity for any computer. A machine with little 
  5013.       memory (ie. 8 MB) may experience heavy "swapping". This occurs when the 
  5014.       operating system spends (more) time swapping than allowing actual work to 
  5015.       be done by the user. Install more memory. Following the Least Recently 
  5016.       Used (LRU) algorithm, OS/2 memory management will identify individual 4 
  5017.       KB memory pages as being "swappable". When not enough REAL memory is 
  5018.       present for more demanding memory pages, OS/2 swaps-out the least used. 
  5019.  
  5020.    3. Real Memory refers to the amount of physical memory installed in the 
  5021.       computer and is used in comparison to Virtual Memory. 
  5022.  
  5023.    4. Free Memory refers to the amount of actual free REAL memory available to 
  5024.       OS/2 and OS/2 programs. This will never be shown as a number higher than 
  5025.       the amount of physical memory installed in the computer. 
  5026.  
  5027.    5. Resident Memory refers to the amount of REAL memory which is not 
  5028.       swappable nor discardable usually belonging to the operating system 
  5029.       (OS/2) or applications which created the memory as non-swappable. For 
  5030.       performance reasons, the operating system will maintain critical and 
  5031.       highly active memory as Resident memory. 
  5032.  
  5033.    6. Swappable Memory refers to the amount of REAL memory which is identified 
  5034.       as noncritical or Least Recently Used (LRU algorithm) memory pages 
  5035.       capable of being swapped-out to the OS/2 swapper file until the memory is 
  5036.       in demand. The term is synonymous with "discardable" memory. 
  5037.  
  5038.    7. Print Spooler is a facility which facilitates directing print output to a 
  5039.       particular print queue without having to wait for the printer to receive 
  5040.       and print the output. 
  5041.  
  5042.    8. Print Queues are an intermediate holding place for print jobs. Related to 
  5043.       the Print Spooler, there is a 1-to-1 relationship between a Print Queue 
  5044.       and a physical printer. When a print job gets spooled into a particular 
  5045.       print queue, the print job can be automatically printed, place on hold, 
  5046.       or subsequently released for printing. 
  5047.  
  5048.    9. Process refers to 1 instance of an executing program. Every Process is 
  5049.       assigned a unique ID (hence Process ID or PID) by the operating system 
  5050.       (OS/2). Every Process ID has at least 1 Thread. A process can launch 
  5051.       another process. This makes the launching process the parent and the 
  5052.       launched process the child. Hence Parent Process ID or PPID. 
  5053.  
  5054.   10. Threads are functions created by a Process and execute asynchronous to 
  5055.       the Process.  A Process has by default 1 thread, but can create many. 
  5056.       Threads of a process have a finite life and terminate when the main 
  5057.       process ends. Every Thread is assigned a unique ID (hence Thread ID or 
  5058.       TID) by the operating system (OS/2). Each thread will have a "state" 
  5059.       which identifies whether the thread is active or waiting for a time slice 
  5060.       to be granted by OS/2. 
  5061.  
  5062.   11. Sessions are unique instances of a process which have a "screen group". A 
  5063.       Process with a Screen Group has a virtual keyboard, screen, and mouse. 
  5064.       Unlike "Detached" (Daemon) processes which execute completely in the 
  5065.       background, have no form of user input or output and are not always 
  5066.       visible to the user. When a process within a Session launches another 
  5067.       process asynchronously, the child process is assigned a unique Session ID 
  5068.       or SID. Launched synchronously, the child process inherits the same 
  5069.       Session ID as the parent. 
  5070.  
  5071.   12. Process Monitor allows the user to view the many attributes associated 
  5072.       with 1 or more Processes and their respective Threads. OS/2 maintains a 
  5073.       "Process Table" to keep track of all the processes and threads executing. 
  5074.       PM Patrol provides a very robust Process Monitor facility. Every possible 
  5075.       process and thread attribute can be monitored. 
  5076.  
  5077.   13. Time Slice refers to the operating system (OS/2) granting a process 
  5078.       thread a certain amount of CPU execution time in a multitasking 
  5079.       environment. This capability allows the user to work simultaneously on 
  5080.       many tasks. A Process can set his priority level so that OS/2 will grant 
  5081.       more time, more often. This granting of time slices is known as the 
  5082.       "Scheduler" in an operating system. 
  5083.  
  5084.   14. The OS/2 Scheduler is a very robust algorithm and integral operating 
  5085.       system component capable of servicing time critical applications in the 
  5086.       most demanding real-time environments. This, combined with stability, 
  5087.       connectivity, and maturity is why OS/2 is useful for mission critical 
  5088.       systems. 
  5089.  
  5090.   15. Preemptive Multitasking in OS/2 provides the ability to "preemptively" 
  5091.       interrupt one process without it's knowledge or control to allow another 
  5092.       process a time slice. DOS+Windows and Windows-95 attempt to preemptively 
  5093.       multitask, but suffer from architectural flaws which render them more 
  5094.       "cooperative" multitasking operating systems. True preemptive 
  5095.       multitasking operating systems such as OS/2, Windows NT, and UNIX, lend 
  5096.       themselves to mission critical and time sensitive applications. 
  5097.       Multimedia is a good example of a time sensitive application. 
  5098.  
  5099.  
  5100. ΓòÉΓòÉΓòÉ 16. Trouble Shooting ΓòÉΓòÉΓòÉ
  5101.  
  5102. This section discusses topics of potential difficulty, compatibility, and 
  5103. idiosyncrasies of PM Patrol features. Everyone should read this section. 
  5104.  
  5105. The CPU Monitor for WarpCenter or Lotus SmartCenter consistantly show 50% or 
  5106. higher CPU load. PM Patrol's CPU monitor will always show the correct CPU load 
  5107. regardless of what other CPU monitors are present. However, to get SmartCenter 
  5108. or WarpCenter CPU monitors to read correctly, you will have to turn off PM 
  5109. Patrol's CPU monitor. In this case, if you REALLY want use PM Patrol's CPU 
  5110. monitor you can use it and faithfully trust its readings. But you will need to 
  5111. disregard the readings from these other CPU monitors. You can not "have your 
  5112. cake and eat it too". 
  5113.  
  5114. The Float to Top option does not work when the E.EXE editor is active or causes 
  5115. a 3175 error. Due to a bug in the E.EXE editor under OS/2 version 2.1 and 2.11, 
  5116. PM Patrol temporarily disables the "Float to Top" option while E.EXE is the 
  5117. active window. This bug in E.EXE is fixed in OS/2 Warp 3.0.  If this problem 
  5118. surfaces: 
  5119.  
  5120.    1. Change the "Process Monitors" in PM Patrol's "Refresh Settings" to a 
  5121.       lower value such as 3 or 4 seconds. 
  5122.  
  5123.    2. Or, turn off the "Float to Top" in the PM Patrol "Options" dialog. 
  5124.  
  5125.  A running program's priority is different than that specified in the Program 
  5126.  Launcher or Scheduler. 
  5127.  
  5128.  Note:  Once launched, a program can change it's own priority Class and Range 
  5129.  settings. This means that PM Patrol sets the program's "default" priorities 
  5130.  with those that you select, but does not control it after the program has been 
  5131.  launched. A good example of this is running Windows programs. The Win-OS/2 
  5132.  environment will typically change the priority to "Regular" for both Class and 
  5133.  Range. Therefore, Windows programs can NOT be controlled by PM Patrol for 
  5134.  priority control. 
  5135.  
  5136.  Free Memory ALWAYS reports 0 KB or maximum KB available: 
  5137.  
  5138.    1. OS/2 views memory as a flat linear address space and deploys a true 
  5139.       Virtual Memory Model. Because of this, calculation of Free Memory is 
  5140.       subject to the following constraint. 
  5141.  
  5142.       Note:  If your system hardware consists of MORE than 16 MB of memory and 
  5143.       the hard disk controller is a 16-bit adapter, Free Memory calculation may 
  5144.       not be accurately reported. Use a 32-bit disk controller when more than 
  5145.       16 MB RAM is installed. 
  5146.  
  5147.  When printing, the output is garbled or incorrect: The PM Patrol Port Monitor 
  5148.  is active by default and monitors the print stream. There may be cases when 
  5149.  printing with the OS/2 Spooler disabled where you might experience these 
  5150.  symptoms. To remedy this, run PM Patrol without the Port Monitor active by 
  5151.  specifying the command-line parameter "-P" when starting PM Patrol. If the 
  5152.  problem persists, it's not being caused by PM Patrol. Check your print driver. 
  5153.  
  5154.  Using another CPU monitor program causes questionable CPU results to be 
  5155.  reported by PM Patrol: The PM Patrol CPU monitor is designed to co-exist with 
  5156.  other CPU monitors. However, there may be an occasion where you might 
  5157.  experience a problem. This is nothing against PM Patrol or other CPU monitors, 
  5158.  it's just the nature of the monitor and how a CPU monitor works. They are not 
  5159.  designed to "compete" with each other. PM Patrol is "aware" of other CPU 
  5160.  monitors when they are active such as (Pulse, SPM/2, and several others). The 
  5161.  first recommendation would be not to run more than 1 CPU monitor at a time, 
  5162.  but please report the problem to WallyWare. 
  5163.  
  5164.  Not all Monitor display items can fit on the PM Patrol Status Line: 
  5165.  
  5166.    1. PM Patrol does not expect anyone user to desire ALL PM Patrol monitors on 
  5167.       the Status Line at once and therefore does not attempt to claim they all 
  5168.       fit. However, there are a number of things that can help. 
  5169.  
  5170.    2. Enable the "Display Compact" option under "Status Line Options" of PM 
  5171.       Patrol. When enabled, all Status Line abbreviations such as "Ram", "Swp", 
  5172.       "Net", and others are removed. This option was specifically designed to 
  5173.       address this issue. 
  5174.  
  5175.    3. Depending on the font you have selected, this may be true. Try using a 
  5176.       smaller font - perhaps a VIO style font. The 2.VIO font is the smallest 
  5177.       font for a VGA system. 
  5178.  
  5179.    4. Using the "Show Decimal" option for Status Line monitors, turn this 
  5180.       option off allowing PM Patrol to round values and will free-up some 
  5181.       Status Line space. 
  5182.  
  5183.    5. Another option is to turn off the "Graphical" display of free memory or 
  5184.       CPU usage. This will then display the numeric values only. 
  5185.  
  5186.    6. If there are a lot of drives on-line, turn off the "Drives On-line" 
  5187.       monitor of PM Patrol. 
  5188.  
  5189.  PM Patrol displays Drive B when no physical Drive B exists: OS/2 supports two 
  5190.  "logical" floppy drives. A and B, even if drive B is nonexistent. In fact, if 
  5191.  you were to type "Dir B", OS/2 will prompt you to insert a diskette into drive 
  5192.  B. This demonstrates 1 physical but 2 logical drives. 
  5193.  
  5194.  Your system seems to constantly show excess CPU usage via the PM Patrol CPU 
  5195.  monitor: 
  5196.  
  5197.    1. It's not unusual with today's diverse software, multimedia, and the 
  5198.       ability to run DOS/Windows under OS/2, to see constant CPU usage. Use the 
  5199.       PM Patrol Process Monitor window to identify culprits of CPU activity. 
  5200.  
  5201.    2. Check to make sure the PM Patrol refresh rates found in "Refresh 
  5202.       Settings" are not set at their absolute most minimum values. These 
  5203.       minimum values can be too aggressive on 386-33 MHz systems (or less). 
  5204.  
  5205.    3. Make sure your not running another CPU monitor in addition to PM Patrol. 
  5206.       If you must, turn off the "CPU Monitor" in the PM Patrol "Options" 
  5207.       dialog. 
  5208.  
  5209.  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, and 
  5210.  Network Monitor) active and automatically refreshing, may be too much overhead 
  5211.  for some slower 386 class computers. Therefore, you may need to use these 
  5212.  windows selectively and not continuously. 
  5213.  
  5214.  Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  5215.  Patrol's calculation of free swap space is an approximation and may not result 
  5216.  in an exact calculation all the time. As compared to all PM Patrol's resource 
  5217.  monitors, swap utilization is the only one that may yield approximation. For 
  5218.  systems that are memory rich and therefore swap little, monitoring swap 
  5219.  utilization may not be necessary. 
  5220.  
  5221.  
  5222. ΓòÉΓòÉΓòÉ 17. Caveats ΓòÉΓòÉΓòÉ
  5223.  
  5224. PM Patrol is designed with special attention to performance and causes no 
  5225. system degradations when properly used. 
  5226.  
  5227. Due to the nature of PM Patrol and the uniqueness of resource monitoring 
  5228. software such as PM Patrol, there can be no guarantees that PM Patrol will be 
  5229. compatable with each new version of OS/2. When and if an incompatability 
  5230. surfaces, a new compatable version of PM Patrol will be released and made 
  5231. available via the normal channels of distribution. 
  5232.  
  5233. The "Ram per Process" feature of PM Patrol is dependant upon the free IBM 
  5234. software OS20MEMU. This is an option in PM Patrol. Problems experienced with 
  5235. OS20MEMU must be directed to IBM. 
  5236.  
  5237. The PM Patrol defaults and minimum allowable settings for "Refresh Settings" 
  5238. protects you from system-wide degradation. However, setting the refresh rates 
  5239. at their minimum values may be too aggressive for some low-end computers. The 
  5240. overhead for PM Patrol is no more than 1-2 percent CPU load (average over 1 
  5241. minute) and only during resource sampling. 
  5242.  
  5243. Note:  The CPU effort to collect Process Meter data, although minimal when 
  5244. active, can be negatively influenced by adjusting the "Process Monitors" 
  5245. frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  5246. computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  5247. following, but never lower: 
  5248.  
  5249.    1. 5 seconds for i386 class computers 
  5250.  
  5251.    2. 4 seconds for i486 class computers 
  5252.  
  5253.    3. 3 seconds for Pentium class computers 
  5254.  
  5255.  The Process Monitor, Memory Monitor, and Network Monitor windows create minor 
  5256.  delays in the form of brief CPU spikes. These spikes are normal and can be 
  5257.  further controlled in the PM Patrol "Refresh Settings". 
  5258.  
  5259.  Note:  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, 
  5260.  and Network Monitor) active and automatically refreshing, may be too much 
  5261.  overhead for some slower 386 class computers. Therefore, you may need to use 
  5262.  these windows selectively and not continuously. 
  5263.  
  5264.  As with all our products, we are committed to supporting and enhancing PM 
  5265.  Patrol. Due to the nature of some of the PM Patrol features (i.e. Process 
  5266.  Monitor and Process Meter) and it's unique application, compatibility with 
  5267.  future versions of OS/2 can not be 100% guaranteed. 
  5268.  
  5269.  
  5270. ΓòÉΓòÉΓòÉ 18. What's New and Version History ΓòÉΓòÉΓòÉ
  5271.  
  5272. This section outlines a historical record of new features and enhancements 
  5273. applied to the PM Patrol product. 
  5274.  
  5275. We're on the Web. You can ALWAYS get the latest version of PM Patrol from our 
  5276. WallyWare Internet Web site at http://homepage.interaccess.com/~wally and send 
  5277. Internet e-mail to wally@interaccess.com. 
  5278.  
  5279. These items are new in PM Patrol version 4.3: 
  5280.  
  5281. Note:  Due to changes in the data structures provided by PM Patrol's real-time 
  5282. APIs, user customized programs using these APIs will require recompilation with 
  5283. this new release. 
  5284.  
  5285.    1. Added "Ram per Process" to PM Patrol's Process Monitor. For each process, 
  5286.       both total RAM and in-memory (resident) RAM are shown. OS20MEMU IBM 
  5287.       software is required for this feature and can be downloaded from our 
  5288.       website above. This software is free. PM Patrol's interface to OS20MEMU 
  5289.       is seamless and automatic once installed. 
  5290.  
  5291.    2. Added new PM Patrol startup command line option "-m" which provides the 
  5292.       ability to bypass OS20MEMU interfaces and thereby disabling the "Ram per 
  5293.       Process" feature. 
  5294.  
  5295.    3. A compatability problem in PM Patrol's CPU monitor with Lotus SmartCenter 
  5296.       and Merlin's WarpCenter has been fixed. The Status Line overall CPU load 
  5297.       and the Process Monitor now report correct CPU load with SmartCenter 
  5298.       co-existance. When PM Patrol's CPU monitor is turned off and either 
  5299.       WarpCenter or SmartCenter CPU monitors are present, the CPU monitors will 
  5300.       reflect correct readings. This fix is necessary and required for Merlin 
  5301.       compatability with WarpCenter . 
  5302.  
  5303.    4. Added support for the In-Joy Internet access dialer to PM Patrol's INet 
  5304.       Connect Time monitor. The In-Joy software can be obtained from the 
  5305.       authors website at http://www.belle.dk/~bj/dialer.html. Version 0.08 or 
  5306.       higher is necessary. 
  5307.  
  5308.    5. Fixed problem with monitoring remote spooler queues for LAN Server 4.0 
  5309.       and Warp Server environments. 
  5310.  
  5311.    6. For PM Patrol's Swap Growth event monitor, the default threshold limit 
  5312.       for swap growth is now set to the initial size of the OS/2 swap file (per 
  5313.       the Config.Sys "swappath=" directive), plus 2 megabytes. Each time PM 
  5314.       Patrol is started, it will check for the condition where the setting for 
  5315.       the threshold limit is less than initial swap file size and make the 
  5316.       necesssary adjustment to this setting as described above. 
  5317.  
  5318.    7. Added new Command-line utility to assist in PM Patrol installations. The 
  5319.       "PMPReg" utility is provided with PM Patrol to allow command-line 
  5320.       registration of the product and is useful under situations which require 
  5321.       setup or configuration of PM Patrol for pre-loads, batch, and/or remote 
  5322.       setup. 
  5323.  
  5324.    8. Added Reflect Reserved in VRam. This option provides the ability to have 
  5325.       the Free Virtual Memory calculation reflect (or not reflect) the reserved 
  5326.       disk space as specified in the "swappath" directive of your OS/2 
  5327.       Config.Sys. This new option is located under PM Patrol's General 
  5328.       Settings. 
  5329.  
  5330.    9. Added Reflect Free RAM in VRam. This option provides the ability to have 
  5331.       the Free Virtual Memory calculation reflect (or not reflect) free Real 
  5332.       memory in the calculation of Free/Used Virtual memory. Ones definition of 
  5333.       Virtual Memory may or may not include Real Memory into the calculation. 
  5334.       This option provides you the ability to select your choice of definition. 
  5335.  
  5336.   10. Added new startup command-line parameter. Use the "-N" Parameter to 
  5337.       disable network traffic I/O monitoring for the workstation. 
  5338.  
  5339.   11. A minior bug with the PM Patrol Scheduler has also been fixed. PM 
  5340.       Patrol's Scheduler requires that the Process Meter be active and is now 
  5341.       automatically activated when 1 or more Scheduler task(s) exist. 
  5342.  
  5343.   12. The Inverted option introduced in version 4.1 has been enhanced to allow 
  5344.       individual selection of which monitors to invert. This one's for you 
  5345.       Noah. 
  5346.  
  5347.   13. Fixed non-critical problem in Spooler Monitor where a large number of 
  5348.       print queues could cause PM Patrol to exhaust its buffers. 
  5349.  
  5350.   14. The Spooler Purge, Release, and Hold operations in PM Patrol now support 
  5351.       up to 20 print queues. 
  5352.  
  5353.   15. The Program Scheduler and Program Launcher lists are now sorted for 
  5354.       easier viewing - finally. 
  5355.  
  5356.  These items are new in PM Patrol version 4.2: 
  5357.  
  5358.    1. The Event Monitor will now allow monitoring for drive free space when the 
  5359.       particular drive hasn't been selected for display on the Status Line. 
  5360.       This allows you to be notified via the Event Monitor of low disk space 
  5361.       w/o seeing the drive on the Status Line (aka. Background monitoring). 
  5362.       When and if a drive under Event Monitoring goes offline, no notification 
  5363.       will be given regarding free space. Notification is, however, provided on 
  5364.       the PM Patrol Status Line for a given drive which has been selected for 
  5365.       Status Line display. 
  5366.  
  5367.    2. Performance Improvements were made to the Data Collection engine which 
  5368.       services the Process Meter and Scheduler facilities in PM Patrol. 
  5369.  
  5370.    3. The parsing of the Security Password in PM Patrol now strips off leading 
  5371.       spaces for those who have gotton themselves accidently locked-out. 
  5372.  
  5373.    4. The Scheduler built into PM Patrol now provides better termination 
  5374.       settings.  Hours and minutes may now be specified for the termination of 
  5375.       a scheduled program. 
  5376.  
  5377.    5. The Scheduler built into PM Patrol now supports the ability to terminate 
  5378.       a process after a specified duration of time (minutes). See online help 
  5379.       section of the Scheduler for details. 
  5380.  
  5381.    6. The Scheduler will now log via the PM Patrol DBug facility all programs 
  5382.       started, shutdown, or terminated (killed). This assumes DBug has been 
  5383.       started as well. With this enhancement, the DBug facility can now be used 
  5384.       for logging Scheduled programs. 
  5385.  
  5386.    7. Fixed problem in Scheduler where, based on the scheduled date/time 
  5387.       settings, a scheduled job could launch more than 1 instance. A pop-up 
  5388.       message and a DBug are now generated, warning that an instance of the 
  5389.       process is already active. 
  5390.  
  5391.    8. Any program started from the PM Patrol Program Launcher will now also get 
  5392.       logged via the DBug facility. This assumes DBug has been started as well. 
  5393.  
  5394.    9. Fixed a bug in the PM Patrol parser. Config.sys statements containing 
  5395.       leading spaces were not being properly parsed. 
  5396.  
  5397.   10. Removed the Scheme Palette option from PM Patrol's menu options until the 
  5398.       problem associated with this item is resolved. The problem: When selected 
  5399.       from PM Patrol's menu, the default Scheme Palette would get invoked. 
  5400.       Customized Schemes would sometimes appear lost. 
  5401.  
  5402.   11. Enhanced the Installation program addressing fail-safe and file copy 
  5403.       issues. 
  5404.  
  5405.   12. The Auto-Save Profile option introduced in version 4.1 also introduced a 
  5406.       problem where this option would remain enabled - regardless of the user's 
  5407.       selection. The ramification effects power-managed computers so that disk 
  5408.       drives never power-down automatically. 
  5409.  
  5410.   13. Added the ability to specify the number of minutes before an Auto-Save 
  5411.       Profile is performed. The default is 15 minutes, but can range from 1 
  5412.       minute to 8 hours. This option is located in the General Settings window. 
  5413.  
  5414.   14. The Show Inverted option introduced has been enhanced to include Virtual 
  5415.       Memory as well. This option allows you to "invert" or reverse how the 
  5416.       Virtual Memory and graph is shown on the Status Line to reflect resource 
  5417.       taxation similar to PM Patrol's CPU monitor. 
  5418.  
  5419.   15. Added Show Open Files option for the Process Summary monitor on the PM 
  5420.       Patrol Status Line. Some like to see it, and some don't. So, here's the 
  5421.       option. 
  5422.  
  5423.   16. The Show Percent option on PM Patrol's Status Line has been removed and 
  5424.       replaced with individual "Percent" options for each of the monitor items 
  5425.       including Swap, Resident RAM, Real RAM, and Virtual RAM. These individual 
  5426.       "Percent" options are located on PM Patrol's Options window and now 
  5427.       provides more flexability in customizing display options. 
  5428.  
  5429.   17. The Internet Connect-Time is now refered to as INet Connect-Time. Prior 
  5430.       to 4.2, the "Accumulative Internet" option was accessed via the General 
  5431.       Settings window. It has been relocated to PM Patrol's Options window and 
  5432.       is called Show Total INet which will show total Internet Connect-Time in 
  5433.       addition to the per instance connect-time. With this option, you can now 
  5434.       see total Internet Connect-Time at the same time as the per-instance 
  5435.       connect-time. 
  5436.  
  5437.   18. The INet Connect-Time bug fixed in version 4.0 was resetting to zero for 
  5438.       per-instance connections prematurely while not allowing the user to see 
  5439.       the total time after disconnection. This has been fixed. This 
  5440.       connect-time is now reset to zero when a new connection is established. 
  5441.       Thus, allowing the user to see what the last Internet Connect-Time was 
  5442.       before re-connection. 
  5443.  
  5444.   19. Added Show Inverted option. By default, PM Patrol shows Swap and Real RAM 
  5445.       in terms of "Free" or available resource on the Status Line. This option 
  5446.       allows you to "invert" or reverse how these monitors and graphs are shown 
  5447.       on the Status Line to reflect resource taxation similar to PM Patrol's 
  5448.       CPU monitor. 
  5449.  
  5450.   20. The Show Percent option now effects both Swap and Real RAM monitors on 
  5451.       the Status Line. When selected, both Swap and Real RAM will show the 
  5452.       percentages. Prior to 4.2, only Swap was effected. 
  5453.  
  5454.   21. Bug fix in Virtual Memory calculation. 
  5455.  
  5456.   22. Added Reflect Free Swap in VRam. This option provides the ability to have 
  5457.       the Free Virtual Memory calculation reflect (or not reflect) free OS/2 
  5458.       swap space from the swap file (swapper.dat). When enabled, the Free 
  5459.       Virtual RAM (VRam) calculation will reflect a more accurate and actual 
  5460.       reading. This new option is located in PM Patrol's General Settings 
  5461.       dialog. 
  5462.  
  5463.  These items are new in PM Patrol version 4.1: 
  5464.  
  5465.    1. New PM Patrol ShutDown command-line utility (PMPSDOWN.EXE) which provides 
  5466.       a mechanism to shutdown PM Patrol after a specified amount of time 
  5467.       (seconds). 
  5468.  
  5469.    2. New Message Box Popup command-line utility (MSGBOX.EXE) which can be 
  5470.       invoked from the Scheduler to popup a message at a specific time. Lots of 
  5471.       options for this. Refer to the "Command Line Utilities" help section for 
  5472.       details. 
  5473.  
  5474.    3. PM Patrol can now be accessed without the use of a mouse. Using Ctrl-Esc 
  5475.       to get the OS/2 Window List, then selecting the "PM Patrol Status Line". 
  5476.       At this point, pressing F12 will get you to the PM Patrol Options window. 
  5477.       F11 will invoke PM Patrol's Utility Popup. 
  5478.  
  5479.    4. PM Patrol now looks for the COMSPEC environment variable to identify the 
  5480.       correct OS/2 Command Shell Interpreter. Typically this will point to 
  5481.       CMD.EXE. But for those 4OS2 and MKS Toolkit Korn Shell users, this has 
  5482.       been fixed. 
  5483.  
  5484.    5. New Auto-Save Profile option will automatically save the PM Patrol 
  5485.       profile and statistics every 15 minutes. This facilitates integrity for 
  5486.       PM Patrol's statistics in the event of a system hang or crash. With this 
  5487.       option turned on, power-managed computers will not automatically power 
  5488.       down the disk drive because of the consistent 15 minute disk writes. 
  5489.       These disk writes are not buffered and therefore commit to disk 
  5490.       immediately. 
  5491.  
  5492.    6. New Lock Status Line Position option locks-in the PM Patrol Status Line 
  5493.       position from accidently dragging and moving. 
  5494.  
  5495.    7. New Message Popup Seconds option allows you to define how long (seconds) 
  5496.       PM Patrol should display popup messages. The default is 4 seconds. 
  5497.  
  5498.    8. Fixed bug in Program Scheduler and Launcher when using the keyboard would 
  5499.       automatically launch the first entry in the Program or Scheduler list. 
  5500.  
  5501.    9. Fixed bug in calculation of available virtual memory. 
  5502.  
  5503.   10. Fixed bug in Accumulative Internet Connection Time. When Accumulative is 
  5504.       disabled, the Connect Time will now reset to 0 after disconnecting from 
  5505.       the Internet, each time PM Patrol is started, or when you manually reset 
  5506.       it in PM Patrol. 
  5507.  
  5508.   11. The Process Summary now displays the total active/open number of files on 
  5509.       the system. This is in addition to the number of total processes and 
  5510.       total threads. 
  5511.  
  5512.   12. Fixed bugs in DCFUserDefined API and Refresh Settings for User Defined 
  5513.       frequency. 
  5514.  
  5515.   13. Fixed bug in Process Meter where the Run-Time Duration day was not being 
  5516.       incremented. 
  5517.  
  5518.   14. Added ability to turn off Event Renotification by specifying zero 
  5519.       seconds. 
  5520.  
  5521.   15. Bug fix for situations where the month of January was being abbreviated 
  5522.       as "an" instead of "Jan". 
  5523.  
  5524.   16. Revised the online help section "Order and Pricing" and the text-based 
  5525.       file ORDER.FRM to reflect new methods of ordering PM Patrol. These 
  5526.       methods include Credit Card, CompuServe SWREG, personal check, and money 
  5527.       orders. 
  5528.  
  5529.   17. Revised online help to reflect improved PM Patrol support and obtaining 
  5530.       updates by itemizing FTP and other download sites posted to directly by 
  5531.       WallyWare. Refer to online help section "Support" for details. 
  5532.  
  5533.  These items are new in PM Patrol version 4.0: 
  5534.  
  5535.    1. Due to changes in PM Patrol's profile data (PMPATROL.INI) to accommodate 
  5536.       the new release, this profile data may be re-initialized to standard 
  5537.       defaults when the new release is first invoked. 
  5538.  
  5539.    2. Significant improvement in overall visuals and interpretation of system 
  5540.       resources. This includes emphasis on new graphing functions within the PM 
  5541.       Patrol Status Line and across several new PM Patrol windows. 
  5542.  
  5543.    3. Distinctly different monitor windows which focus on categories of 
  5544.       resources. These include: 
  5545.  
  5546.         a. Network Monitor window. Provides concentration for LAN Server/Client 
  5547.            I/O traffic workstation specifics. 
  5548.  
  5549.         b. Process Monitor window. Provides concentration for OS/2 active 
  5550.            processes, threads, CPU per process, DLLs loaded, and much more. 
  5551.  
  5552.         c. Memory Monitor window. Provides concentration for OS/2 memory 
  5553.            utilization for free/used real memory, swappable, free swap, 
  5554.            resident, and other memory related items. 
  5555.  
  5556.         d. Drives Monitor window. Provides concentration for disk drives 
  5557.            on-line, utilization per drive, location/file systems, summary per 
  5558.            drive, and drive maps. 
  5559.  
  5560.         e. Port Monitor window. Provides concentration for I/O traffic and 
  5561.            performance of LPT ports with the ability to monitor 1 or more ports 
  5562.            at the packet level. Using the new Debug facility, individual 
  5563.            packets can be monitored providing "data scope" capability. When 
  5564.            DBugging is enabled for a selected LPT port, an artificial delay (1 
  5565.            second) is inserted between each packet sent to the port. 
  5566.  
  5567.    4. New Process Meter features provides unattended operation and automatic 
  5568.       collection of process statistics for determining total and average 
  5569.       run-time, CPU consumption, and run-count instance over a user controlled 
  5570.       range of time. 
  5571.  
  5572.    5. New Activity Monitor graphs highly visible/critical OS/2 resources. This 
  5573.       facility provides a "bird's eye view" of overall system utilization. Drag 
  5574.       and drop the window for precise window positioning. 
  5575.  
  5576.    6. New CPU Magnification feature enables CPU monitoring at a selectable 
  5577.       granule level. Zoom into CPU effort for fast CPUs such as highend i486 
  5578.       and Pentium systems. Up to 50 times (50x) magnification. 
  5579.  
  5580.    7. Improved Fast Find facility allows execution of programs, viewing of INF 
  5581.       files, double click selection, and more. 
  5582.  
  5583.    8. New Fast Help facility which provides very fast access to a list of 
  5584.       available on-line help for OS/2 and Windows help files. Coupled with 
  5585.       search capability, this feature enables you quick access to highly 
  5586.       accessed help books. 
  5587.  
  5588.    9. New Status Line monitor items include: 
  5589.  
  5590.         a. OS/2 free Swap Utilization 
  5591.  
  5592.         b. HPFS386 Cache read and write statistics 
  5593.  
  5594.         c. Internet Connect Time when using a modem and the PPP or SLIP 
  5595.            protocols of the IBM Internet Access Kit. Provides the ability to 
  5596.            monitor and manually reset connect-time and accumulative monitoring. 
  5597.  
  5598.   10. New Debug Facility. The high-performance real-time debugging facility 
  5599.       that goes where the interactive debugger can not. PM Patrol's new Port 
  5600.       Monitor takes advantage of this facility allowing you "data scope" 
  5601.       capabilities on a per packet basis. 
  5602.  
  5603.   11. Improved on-line help including in-depth discussion of performance tuning 
  5604.       specifics for the OS/2 environment. 
  5605.  
  5606.   12. PM Patrol's Data Collection Facility (DCF) APIs have been enhanced to 
  5607.       reflect all new monitor items introduced with this release. Due to 
  5608.       changes in the DCF data structures (since version 3.0), previously 
  5609.       written programs which use PM Patrol's C/C++ APIs will require recompile 
  5610.       to reflect the new data structures. 
  5611.  
  5612.   13. New Event Monitor notifies you when critical system activities occur or 
  5613.       thresholds are exceeded. These include CPU, Swap growth, batter low, 
  5614.       virtual memory, low disk space, and more. 
  5615.  
  5616.   14. Miscellaneous new features provide: 
  5617.  
  5618.         a. Restart Desktop allows the ability to restart the OS/2 desktop and 
  5619.            optionally select different OS/2 INI locations. 
  5620.  
  5621.         b. Idle System CPU monitoring within PM Patrol's Process Monitor 
  5622.            window. When applications consume CPU, "Idle System" will decrease. 
  5623.            When your system sits idle, "Idle System" increases. 
  5624.  
  5625.         c. Sound Bites For MMPM/2 enabled systems, PM Patrol is multimedia 
  5626.            enabled providing notifications of events, window selections, and 
  5627.            more. 
  5628.  
  5629.         d. Filter-out Background processes in the Process Monitor window to 
  5630.            allow you to focus only on "Foreground" programs active on your 
  5631.            system. 
  5632.  
  5633.         e. New Auto-Popup Menu option for quick access to the PM Patrol Utility 
  5634.            popup menu on the Status Line. 
  5635.  
  5636.         f. New Confirmations option to suppress PM Patrol from prompting you 
  5637.            before taking selected actions. 
  5638.  
  5639.         g. WorkPlace Classes option provides the ability to browse through 
  5640.            registered WorkPlace Shell classes with the capability of 
  5641.            registering new classes or deregistering classes no longer needed. 
  5642.  
  5643.         h. Close All Folders option quickly closes all open OS/2 WorkPlace 
  5644.            Shell folders. This is similar to PM Patrol's ability to also 
  5645.            quickly Minimize or Maximize all open desktop windows. 
  5646.  
  5647.            Show Decimals option enables or disables PM Patrol displaying the 
  5648.            decimal position for several of the Status Line monitors. When 
  5649.            disabled, PM Patrol will apply standard rounding across effected 
  5650.            values. 
  5651.  
  5652.         i. Forced OS/2 Shutdown for safe and dependable system shutdown when 
  5653.            the normal OS/2 shutdown services are unresponsive. 
  5654.  
  5655.         j. Windows 3.1 Enhanced-execution support for both the Scheduler and 
  5656.            Program Launcher. 
  5657.  
  5658.         k. Recalibrate PM Patrol's CPU monitors when switching between 
  5659.            Turbo/Slow mode for certain systems. 
  5660.  
  5661.         l. Quick open/close of all PM Patrol monitor windows. 
  5662.  
  5663.         m. Self-awareness of other CPU monitors making PM Patrol even more 
  5664.            stable and it's ability to coexist in diverse environments. 
  5665.  
  5666.         n. Re-organization of menus and overall consistency making PM Patrol 
  5667.            easier to use and access to its features. 
  5668.  
  5669.         o. New command line utility called FDUMP which provides the ability to 
  5670.            dump the contents of any file and display the contents in both ASCII 
  5671.            and hex representation. This utility also understands fixed record 
  5672.            lengths. 
  5673.  
  5674.         p. Total customization of colors and fonts on a per window basis across 
  5675.            the PM Patrol product. 
  5676.  
  5677.         q. Run-Time of programs in the "Process Monitor" allows viewing the 
  5678.            duration for which processes have been actively running. 
  5679.  
  5680.         r. Improved Logging services with a new Log viewer able to view log 
  5681.            data while logging is active and view very large log files 
  5682.            efficiently and ability to log process level detail and CPU per 
  5683.            active process. 
  5684.  
  5685.         s. User Defined Monitor allows you to format your own monitor to have 
  5686.            it displayed on PM patrol's main Status Line and allow it to be 
  5687.            logged. 
  5688.  
  5689.         t. Better integration to OS/2 Warp WorkPlace Shell and access to 
  5690.            frequently used objects. 
  5691.  
  5692.  Note:  The on-line help contains a section called "Trouble Shooting". It 
  5693.  discusses topics of potential difficulty, compatibility, and idiosyncrasies of 
  5694.  PM Patrol features. Everyone should read this section. 
  5695.  
  5696.  
  5697. ΓòÉΓòÉΓòÉ 19. Acknowledgments ΓòÉΓòÉΓòÉ
  5698.  
  5699. (c)SPM/2 and MMPM/2 for OS/2 are offered by IBM Corporation. 
  5700.  
  5701. (c)IBM LAN Server and (c)IBM LAN Requester are OS/2 network components offered 
  5702. by IBM Corporation. 
  5703.  
  5704. Windows (tm), Windows-95 (tm), and Windows NT (tm) are offered by Microsoft 
  5705. Corporation. 
  5706.  
  5707.  
  5708. ΓòÉΓòÉΓòÉ 20. Special Thanks ΓòÉΓòÉΓòÉ
  5709.  
  5710. We would like to express our sincere appreciation to everyone who assisted in 
  5711. the production of this and onging releases of PM Patrol. Particularly, a 
  5712. special thanks goes to: 
  5713.  
  5714. Mike Coane, Aron Eisenpress, Jeff McCauley, Mark Saliture, Jen and Kyle.